public interface Files
Modifier and Type | Method and Description |
---|---|
FileHandle |
external(java.lang.String path)
Convenience method that returns a
FileType.EXTERNAL file handle. |
FileHandle |
internal(java.lang.String path)
Convenience method that returns a
FileType.INTERNAL file handle. |
boolean |
isExternalStorageAvailable()
Returns true if the external storage is ready for file IO.
|
boolean |
isLocalStorageAvailable()
Returns true if the local storage is ready for file IO.
|
FileHandle |
local(java.lang.String path)
Convenience method that returns a
FileType.LOCAL file handle. |
FileHandle internal(java.lang.String path)
FileType.INTERNAL
file handle.FileHandle external(java.lang.String path)
FileType.EXTERNAL
file handle.FileHandle local(java.lang.String path)
FileType.LOCAL
file handle.boolean isExternalStorageAvailable()
boolean isLocalStorageAvailable()