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.IOExceptionpublic MultiFileInputStream(java.lang.String... paths)
throws java.io.IOException
paths - java.io.IOExceptionpublic MultiFileInputStream(java.io.FileDescriptor... descriptors)
throws java.io.IOException
descriptors - java.io.IOExceptionpublic int read()
throws java.io.IOException
read in class java.io.InputStreamjava.io.IOExceptionpublic int read(byte[] b,
int off,
int len)
throws java.io.IOException
read in class java.io.InputStreamjava.io.IOExceptionpublic int available()
throws java.io.IOException
available in class java.io.InputStreamjava.io.IOExceptionpublic void close()
throws java.io.IOException
close in interface java.io.Closeableclose in interface java.lang.AutoCloseableclose in class java.io.InputStreamjava.io.IOException