Package io.deephaven.io.streams
Class MultiFileInputStream
java.lang.Object
java.io.InputStream
io.deephaven.io.streams.MultiFileInputStream
- All Implemented Interfaces:
Closeable
,AutoCloseable
-
Nested Class Summary
-
Constructor Summary
ConstructorDescriptionMultiFileInputStream
(MultiFileInputStream.DecoratedInputStream[] inputStreams) -
Method Summary
Methods inherited from class java.io.InputStream
available, mark, markSupported, nullInputStream, readAllBytes, readNBytes, readNBytes, reset, skip, skipNBytes, transferTo
-
Constructor Details
-
MultiFileInputStream
-
-
Method Details
-
read
- Specified by:
read
in classInputStream
- Throws:
IOException
-
read
- Overrides:
read
in classInputStream
- Throws:
IOException
-
read
- Overrides:
read
in classInputStream
- Throws:
IOException
-
close
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
- Overrides:
close
in classInputStream
- Throws:
IOException
-
getCurrentFilename
Get the filename of the current stream- Returns:
- filename, null if no current file
-