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
-
Method Summary
-
Constructor Details
-
InputFile
Construct for the given file.- Throws:
IOException
-
-
Method Details
-
length
Description copied from interface:Input
Return the total length of the input.- Specified by:
length
in interfaceInput
- Throws:
IOException
-
read
Description copied from interface:Input
Positioned read.- Specified by:
read
in interfaceInput
- Throws:
IOException
-
close
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
- Throws:
IOException
-