| Modifier and Type | Field and Description |
|---|---|
protected java.nio.file.Path |
srcPath |
itemsSrc, srcBuff, srcBuffPosINPUT_OPEN_OPTIONS| Constructor and Description |
|---|
BinFileInput(java.nio.file.Path srcPath) |
| Modifier and Type | Method and Description |
|---|---|
protected static java.io.ObjectInputStream |
buildObjectInputStream(java.nio.file.Path itemsSrcPath) |
java.nio.file.Path |
getFilePath() |
void |
reset()
Reset this input making this readable from the beginning
|
java.lang.String |
toString() |
close, get, get, setItemsSrc, skippublic BinFileInput(java.nio.file.Path srcPath)
throws java.io.IOException
srcPath - the path to the file which should be used to restore the serialized itemsjava.io.IOException - if unable to open the file for readingprotected static java.io.ObjectInputStream buildObjectInputStream(java.nio.file.Path itemsSrcPath)
throws java.io.IOException
java.io.IOExceptionpublic final java.nio.file.Path getFilePath()
getFilePath in interface FileInput<T>