java.lang.Object
java.io.InputStream
eu.steffo.cleaver.logic.split.SplitFileInputStream
- All Implemented Interfaces:
Closeable
,AutoCloseable
public class SplitFileInputStream extends InputStream
-
Field Summary
Fields Modifier and Type Field Description protected int
currentFileCount
protected String
fileBaseName
protected long
partSize
-
Constructor Summary
Constructors Constructor Description SplitFileInputStream(String fileBaseName, long partSize)
-
Method Summary
Modifier and Type Method Description int
read()
Methods inherited from class java.io.InputStream
available, close, mark, markSupported, nullInputStream, read, read, readAllBytes, readNBytes, readNBytes, reset, skip, skipNBytes, transferTo
-
Field Details
-
fileBaseName
-
partSize
protected long partSize -
currentFileCount
protected int currentFileCount
-
-
Constructor Details
-
Method Details
-
read
- Specified by:
read
in classInputStream
- Throws:
IOException
-