| Constructor and Description |
|---|
InputFile(File file)
Construct for the given file.
|
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
long |
length()
Return the total length of the input.
|
int |
read(long position,
byte[] b,
int start,
int len)
Positioned read.
|
public InputFile(File file) throws IOException
IOExceptionpublic long length()
throws IOException
Inputlength in interface InputIOExceptionpublic int read(long position,
byte[] b,
int start,
int len)
throws IOException
Inputread in interface InputIOExceptionpublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableIOExceptionCopyright © 2009–2023 The Apache Software Foundation. All rights reserved.