|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<Files.FileType> com.badlogic.gdx.Files.FileType
public static enum Files.FileType
Indicates how to resolve a path to a file.
Enum Constant Summary | |
---|---|
Absolute
Path that is a fully qualified, absolute filesystem path. |
|
Classpath
Path relative to the root of the classpath. |
|
External
Path relative to the root of the SD card on Android and to the home directory of the current user on the desktop. |
|
Internal
Path relative to the asset directory on Android and to the application's root directory on the desktop. |
|
Local
Path relative to the private files directory on Android and to the application's root directory on the desktop. |
Method Summary | |
---|---|
static Files.FileType |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static Files.FileType[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final Files.FileType Classpath
Audio.newSound(FileHandle)
and
Audio.newMusic(FileHandle)
.
public static final Files.FileType Internal
public static final Files.FileType External
public static final Files.FileType Absolute
public static final Files.FileType Local
Method Detail |
---|
public static Files.FileType[] values()
for (Files.FileType c : Files.FileType.values()) System.out.println(c);
public static Files.FileType valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is null
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |