java.lang.Object
java.io.InputStream
eu.steffo.cleaver.logic.split.SplitFileInputStream
- All Implemented Interfaces:
java.io.Closeable
,java.lang.AutoCloseable
public class SplitFileInputStream
extends java.io.InputStream
-
Field Summary
Fields Modifier and Type Field Description protected int
currentFileCount
protected java.lang.String
fileBaseName
protected int
partSize
-
Constructor Summary
Constructors Constructor Description SplitFileInputStream(java.lang.String fileBaseName, int partSize)
-
Method Summary
Modifier and Type Method Description int
read()
-
Field Details
-
fileBaseName
protected java.lang.String fileBaseName -
partSize
protected int partSize -
currentFileCount
protected int currentFileCount
-
-
Constructor Details
-
SplitFileInputStream
public SplitFileInputStream(java.lang.String fileBaseName, int partSize)
-
-
Method Details
-
read
public int read() throws java.io.IOException- Specified by:
read
in classjava.io.InputStream
- Throws:
java.io.IOException
-