| Modifier and Type | Field | Description |
|---|---|---|
protected java.nio.file.Path |
srcPath |
itemsSrc, srcBuff, srcBuffPosINPUT_OPEN_OPTIONS| Constructor | Description |
|---|---|
BinFileInput(java.nio.file.Path srcPath) |
| Modifier and Type | Method | 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() |
public 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>