public class ConcatReader extends Reader
| Constructor and Description |
|---|
ConcatReader() |
| Modifier and Type | Method and Description |
|---|---|
void |
add(Path path) |
void |
close() |
Reader |
createReader(Path path) |
Path |
getCurrentPath() |
int |
read(char[] cbuf,
int off,
int len) |
public void add(Path path)
path - path of file to readpublic Path getCurrentPath()
public int read(char[] cbuf,
int off,
int len)
throws IOException
read in class ReaderIOExceptionpublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableclose in class ReaderIOExceptionpublic Reader createReader(Path path) throws IOException
path - file pathIOException - I/O exceptionCopyright © 2015. All rights reserved.