Package nom.tam.fits.compress
Class ExternalBZip2CompressionProvider
java.lang.Object
nom.tam.fits.compress.ExternalBZip2CompressionProvider
- All Implemented Interfaces:
ICompressProvider
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate InputStream
bunzipper
(InputStream compressed) int
priority()
boolean
provides
(int mag1, int mag2)
-
Field Details
-
PRIORITY
private static final int PRIORITY- See Also:
-
LOG
-
-
Constructor Details
-
ExternalBZip2CompressionProvider
public ExternalBZip2CompressionProvider()
-
-
Method Details
-
bunzipper
- Throws:
IOException
FitsException
-
getBzip2Cmd
-
decompress
- Specified by:
decompress
in interfaceICompressProvider
- Throws:
IOException
FitsException
-
priority
public int priority()- Specified by:
priority
in interfaceICompressProvider
-
provides
public boolean provides(int mag1, int mag2) - Specified by:
provides
in interfaceICompressProvider
-