|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<AppEngineFile.FileSystem> com.google.appengine.api.files.AppEngineFile.FileSystem
public static enum AppEngineFile.FileSystem
Represents the back-end storage location of a file. In the current release there is only one file system available, the BlobStore.
Enum Constant Summary | |
---|---|
BLOBSTORE
This file system stores files as blobs in the App Engine BlobStore. |
|
GS
Files in this file system use one path for writing and one path for reading. |
Method Summary | |
---|---|
static AppEngineFile.FileSystem |
fromName(java.lang.String name)
Returns the FileSystem with the given name. |
java.lang.String |
getName()
Returns the name of the file system. |
static AppEngineFile.FileSystem |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static AppEngineFile.FileSystem[] |
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 AppEngineFile.FileSystem BLOBSTORE
public static final AppEngineFile.FileSystem GS
FileService
.
Method Detail |
---|
public static AppEngineFile.FileSystem[] values()
for (AppEngineFile.FileSystem c : AppEngineFile.FileSystem.values()) System.out.println(c);
public static AppEngineFile.FileSystem valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.
java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified name
java.lang.NullPointerException
- if the argument is nullpublic java.lang.String getName()
public static AppEngineFile.FileSystem fromName(java.lang.String name)
FileSystem
with the given name.
java.lang.IllegalArgumentException
- if the given name is not the name of any
of the file systems.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |