Package com.ben12.reta.plugin.tika.io
Class ConcatReader
java.lang.Object
java.io.Reader
com.ben12.reta.plugin.tika.io.ConcatReader
- All Implemented Interfaces:
Closeable,AutoCloseable,Readable
- Author:
- BenoƮt Moreau (ben.12)
-
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidclose()createReader(Path path) intread(char[] cbuf, int off, int len) Methods inherited from class java.io.Reader
mark, markSupported, nullReader, read, read, read, ready, reset, skip, transferTo
-
Constructor Details
-
ConcatReader
public ConcatReader()
-
-
Method Details
-
add
- Parameters:
path- path of file to read
-
getCurrentPath
- Returns:
- current path of file read
-
read
- Specified by:
readin classReader- Throws:
IOException
-
close
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Specified by:
closein classReader- Throws:
IOException
-
createReader
- Parameters:
path- file path- Returns:
- the reader
- Throws:
IOException- I/O exception
-