public class MultiFileInputStream
extends java.io.InputStream
implements java.io.Closeable
Constructor and Description |
---|
MultiFileInputStream(java.io.File... files)
Initializes the stream by opening the given input files in the same
order.
|
MultiFileInputStream(java.io.FileDescriptor... descriptors)
Initializes the stream by opening the given input files in the same
order.
|
MultiFileInputStream(java.lang.String... paths)
Initializes the stream by opening the given input files in the same
order.
|
public MultiFileInputStream(java.io.File... files) throws java.io.IOException
files
- java.io.IOException
public MultiFileInputStream(java.lang.String... paths) throws java.io.IOException
paths
- java.io.IOException
public MultiFileInputStream(java.io.FileDescriptor... descriptors) throws java.io.IOException
descriptors
- java.io.IOException
public int read() throws java.io.IOException
read
in class java.io.InputStream
java.io.IOException
public int read(byte[] b, int off, int len) throws java.io.IOException
read
in class java.io.InputStream
java.io.IOException
public int available() throws java.io.IOException
available
in class java.io.InputStream
java.io.IOException
public void close() throws java.io.IOException
close
in interface java.io.Closeable
close
in interface java.lang.AutoCloseable
close
in class java.io.InputStream
java.io.IOException