Constructor and Description |
---|
InputFile(File file)
Construct for the given file.
|
public InputFile(File file) throws IOException
IOException
public long length() throws IOException
Input
length
in interface Input
IOException
public int read(long position, byte[] b, int start, int len) throws IOException
Input
read
in interface Input
IOException
public void close() throws IOException
close
in interface Closeable
close
in interface AutoCloseable
IOException
Copyright © 2009-2013 The Apache Software Foundation. All Rights Reserved.