URL |
ShpFiles.acquireRead(ShpFileType type,
FileReader requestor) |
Acquire a URL for read only purposes.
|
File |
ShpFiles.acquireReadFile(ShpFileType type,
FileReader requestor) |
Acquire a File for read only purposes.
|
URL |
ShpFiles.acquireWrite(ShpFileType type,
FileWriter requestor) |
Acquire a URL for read and write purposes.
|
File |
ShpFiles.acquireWriteFile(ShpFileType type,
FileWriter requestor) |
Acquire a File for read and write purposes.
|
boolean |
ShpFiles.exists(ShpFileType fileType) |
Returns true if the file exists.
|
String |
ShpFiles.get(ShpFileType type) |
Returns the string form of the url that identifies the file indicated by the type parameter
or null if it is known that the file does not exist.
|
InputStream |
ShpFiles.getInputStream(ShpFileType type,
FileReader requestor) |
Opens a input stream for the indicated file.
|
OutputStream |
ShpFiles.getOutputStream(ShpFileType type,
FileWriter requestor) |
Opens a output stream for the indicated file.
|
ReadableByteChannel |
ShpFiles.getReadChannel(ShpFileType type,
FileReader requestor) |
Obtain a ReadableByteChannel from the given URL.
|
StorageFile |
ShpFiles.getStorageFile(ShpFileType type) |
Obtains a Storage file for the type indicated.
|
WritableByteChannel |
ShpFiles.getWriteChannel(ShpFileType type,
FileWriter requestor) |
Obtain a WritableByteChannel from the given URL.
|
Result<URL,ShpFiles.State> |
ShpFiles.tryAcquireRead(ShpFileType type,
FileReader requestor) |
Tries to acquire a URL for read only purposes.
|
Result<URL,ShpFiles.State> |
ShpFiles.tryAcquireWrite(ShpFileType type,
FileWriter requestor) |
Tries to acquire a URL for read/write purposes.
|