| Modifier and Type | Field and Description |
|---|---|
| public static final String | |
| public static final String |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public FileHandle | absolute(String path)
Implements com. Convenience method that returns a |
| public FileHandle | classpath(String path)
Implements com. Convenience method that returns a |
| public FileHandle | external(String path)
Implements com. Convenience method that returns a |
| public String | getExternalStoragePath()
Implements com. Returns the external storage path directory. |
| public FileHandle | getFileHandle(String fileName, Files.
Implements com. Returns a handle representing a file or directory. |
| public String | getLocalStoragePath()
Implements com. Returns the local storage path directory. |
| public FileHandle | internal(String path)
Implements com. Convenience method that returns a |
| public boolean | isExternalStorageAvailable()
Implements com. Returns true if the external storage is ready for file IO. |
| public boolean | isLocalStorageAvailable()
Implements com. Returns true if the local storage is ready for file IO. |
| public FileHandle | local(String path)
Implements com. Convenience method that returns a |
| externalPath | back to summary |
|---|---|
| public static final String externalPath | |
| localPath | back to summary |
|---|---|
| public static final String localPath | |
| HeadlessFiles | back to summary |
|---|---|
| public HeadlessFiles() | |
| absolute | back to summary |
|---|---|
| public FileHandle absolute(String path) Implements com. Doc from com. Convenience method that returns a
| |
| classpath | back to summary |
|---|---|
| public FileHandle classpath(String path) Implements com. Doc from com. Convenience method that returns a
| |
| external | back to summary |
|---|---|
| public FileHandle external(String path) Implements com. Doc from com. Convenience method that returns a
| |
| getExternalStoragePath | back to summary |
|---|---|
| public String getExternalStoragePath() Implements com. Doc from com. Returns the external storage path directory. This is the app external storage on Android and the home directory of the current user on the desktop.
| |
| getFileHandle | back to summary |
|---|---|
| public FileHandle getFileHandle(String fileName, Files. Implements com. Doc from com. Returns a handle representing a file or directory.
| |
| getLocalStoragePath | back to summary |
|---|---|
| public String getLocalStoragePath() Implements com. Doc from com. Returns the local storage path directory. This is the private files directory on Android and the directory of the jar on the desktop.
| |
| internal | back to summary |
|---|---|
| public FileHandle internal(String path) Implements com. Doc from com. Convenience method that returns a
| |
| isExternalStorageAvailable | back to summary |
|---|---|
| public boolean isExternalStorageAvailable() Implements com. Doc from com. Returns true if the external storage is ready for file IO.
| |
| isLocalStorageAvailable | back to summary |
|---|---|
| public boolean isLocalStorageAvailable() Implements com. Doc from com. Returns true if the local storage is ready for file IO.
| |
| local | back to summary |
|---|---|
| public FileHandle local(String path) Implements com. Doc from com. Convenience method that returns a
| |