Package org.apache.trevni
Class InputFile
java.lang.Object
org.apache.trevni.InputFile
- All Implemented Interfaces:
Closeable,AutoCloseable,Input
An
Input for files.-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
InputFile
Construct for the given file.- Throws:
IOException
-
-
Method Details
-
length
Description copied from interface:InputReturn the total length of the input.- Specified by:
lengthin interfaceInput- Throws:
IOException
-
read
Description copied from interface:InputPositioned read.- Specified by:
readin interfaceInput- Throws:
IOException
-
close
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Throws:
IOException
-