Constructor and Description |
---|
LibgdxFiles() |
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. |
public FileHandle internal(java.lang.String path)
Files
FileType.INTERNAL
file handle.public FileHandle external(java.lang.String path)
Files
FileType.EXTERNAL
file handle.public FileHandle local(java.lang.String path)
Files
FileType.LOCAL
file handle.public boolean isExternalStorageAvailable()
Files
isExternalStorageAvailable
in interface Files
public boolean isLocalStorageAvailable()
Files
isLocalStorageAvailable
in interface Files