| 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)
FilesFileType.INTERNAL file handle.public FileHandle external(java.lang.String path)
FilesFileType.EXTERNAL file handle.public FileHandle local(java.lang.String path)
FilesFileType.LOCAL file handle.public boolean isExternalStorageAvailable()
FilesisExternalStorageAvailable in interface Filespublic boolean isLocalStorageAvailable()
FilesisLocalStorageAvailable in interface Files