com.badlogic.gdx.backends.android
Class AndroidFiles

java.lang.Object
  extended by com.badlogic.gdx.backends.android.AndroidFiles
All Implemented Interfaces:
Files

public class AndroidFiles
extends Object
implements Files

Author:
mzechner, Nathan Sweet

Nested Class Summary
 
Nested classes/interfaces inherited from interface com.badlogic.gdx.Files
Files.FileType
 
Constructor Summary
AndroidFiles(android.content.res.AssetManager assets)
           
AndroidFiles(android.content.res.AssetManager assets, String localpath)
           
 
Method Summary
 FileHandle absolute(String path)
           
 FileHandle classpath(String path)
           
 FileHandle external(String path)
           
 String getExternalStoragePath()
           
 FileHandle getFileHandle(String path, Files.FileType type)
           
 String getLocalStoragePath()
           
 FileHandle internal(String path)
           
 boolean isExternalStorageAvailable()
           
 boolean isLocalStorageAvailable()
           
 FileHandle local(String path)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AndroidFiles

public AndroidFiles(android.content.res.AssetManager assets)

AndroidFiles

public AndroidFiles(android.content.res.AssetManager assets,
                    String localpath)
Method Detail

getFileHandle

public FileHandle getFileHandle(String path,
                                Files.FileType type)
Specified by:
getFileHandle in interface Files

classpath

public FileHandle classpath(String path)
Specified by:
classpath in interface Files

internal

public FileHandle internal(String path)
Specified by:
internal in interface Files

external

public FileHandle external(String path)
Specified by:
external in interface Files

absolute

public FileHandle absolute(String path)
Specified by:
absolute in interface Files

local

public FileHandle local(String path)
Specified by:
local in interface Files

getExternalStoragePath

public String getExternalStoragePath()
Specified by:
getExternalStoragePath in interface Files

isExternalStorageAvailable

public boolean isExternalStorageAvailable()
Specified by:
isExternalStorageAvailable in interface Files

getLocalStoragePath

public String getLocalStoragePath()
Specified by:
getLocalStoragePath in interface Files

isLocalStorageAvailable

public boolean isLocalStorageAvailable()
Specified by:
isLocalStorageAvailable in interface Files


Copyright © 2014. All Rights Reserved.