public interface Location
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Close the location.
|
File |
getFile() |
InputStream |
getInputStream() |
String |
getSpecification() |
void |
open()
open the location.
|
int |
read(byte[] buffer) |
int |
read(ByteBuffer buffer) |
File getFile() throws IOException
File.IOException - in case of an error.void open()
throws IOException
IOException - in case of an error.void close()
int read(ByteBuffer buffer) throws IOException
buffer - The buffer.IOException - in case of an error.int read(byte[] buffer)
throws IOException
buffer - The buffer.IOException - in case of an error.InputStream getInputStream() throws IOException
IOException - in case of an error.String getSpecification()
Copyright © 2002–2015 The Apache Software Foundation. All rights reserved.