Class CloseIS
java.lang.Object
java.io.InputStream
java.io.FilterInputStream
nom.tam.fits.compress.CloseIS
- All Implemented Interfaces:
Closeable, AutoCloseable
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final Threadprivate static final intprivate Stringprivate IOExceptionprivate OutputStreamprivate static final Loggerprivate InputStreamprivate final Processprivate final ThreadFields inherited from class FilterInputStream
in -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()private voidhandledOccuredException(int result) intread()intread(byte[] b, int off, int len) private voidstart()start all threads.Methods inherited from class FilterInputStream
available, mark, markSupported, read, reset, skipMethods inherited from class InputStream
nullInputStream, readAllBytes, readNBytes, readNBytes, skipNBytes, transferTo
-
Field Details
-
LOG
-
COPY_BUFFER_SIZE
private static final int COPY_BUFFER_SIZE- See Also:
-
output
-
input
-
errorText
-
exception
-
stdError
-
copier
-
proc
-
-
Constructor Details
-
CloseIS
-
-
Method Details
-
start
private void start()start all threads. -
read
- Overrides:
readin classFilterInputStream- Throws:
IOException
-
handledOccuredException
- Throws:
IOException
-
read
- Overrides:
readin classFilterInputStream- Throws:
IOException
-
close
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Overrides:
closein classFilterInputStream- Throws:
IOException
-