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 TypeMethodDescriptionvoid
void
close()
createReader
(Path path) int
read
(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:
read
in classReader
- Throws:
IOException
-
close
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
- Specified by:
close
in classReader
- Throws:
IOException
-
createReader
- Parameters:
path
- file path- Returns:
- the reader
- Throws:
IOException
- I/O exception
-