public interface Location
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Close the location.
|
java.io.File |
getFile() |
java.io.InputStream |
getInputStream() |
java.lang.String |
getSpecification() |
void |
open()
open the location.
|
int |
read(byte[] buffer) |
int |
read(java.nio.ByteBuffer buffer) |
java.io.File getFile()
throws java.io.IOException
File.java.io.IOException - in case of an error.void open() throws java.io.IOException
java.io.IOException - in case of an error.void close()
int read(java.nio.ByteBuffer buffer) throws java.io.IOException
buffer - The buffer.java.io.IOException - in case of an error.int read(byte[] buffer) throws java.io.IOException
buffer - The buffer.java.io.IOException - in case of an error.java.io.InputStream getInputStream()
throws java.io.IOException
java.io.IOException - in case of an error.java.lang.String getSpecification()