Module com.github.akurilov.commons
Class BinFileInput<T>
- java.lang.Object
-
- com.github.akurilov.commons.io.BinInput<T>
-
- com.github.akurilov.commons.io.file.BinFileInput<T>
-
-
Field Summary
Fields Modifier and Type Field Description protected java.nio.file.PathsrcPath-
Fields inherited from class com.github.akurilov.commons.io.BinInput
itemsSrc, srcBuff, srcBuffPos
-
Fields inherited from interface com.github.akurilov.commons.io.file.FileInput
INPUT_OPEN_OPTIONS
-
-
Constructor Summary
Constructors Constructor Description BinFileInput(java.nio.file.Path srcPath)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected static java.io.ObjectInputStreambuildObjectInputStream(java.nio.file.Path itemsSrcPath)java.nio.file.PathgetFilePath()voidreset()Reset this input making this readable from the beginningjava.lang.StringtoString()-
Methods inherited from class com.github.akurilov.commons.io.BinInput
close, get, get, setItemsSrc, skip
-
-
-
-
Method Detail
-
buildObjectInputStream
protected static java.io.ObjectInputStream buildObjectInputStream(java.nio.file.Path itemsSrcPath) throws java.io.IOException- Throws:
java.io.IOException
-
getFilePath
public final java.nio.file.Path getFilePath()
- Specified by:
getFilePathin interfaceFileInput<T>
-
-