|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.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.
Enum Constant Summary | |
---|---|
BLOBSTORE
This file system stores files as blobs in the App Engine BlobStore. |
|
GS
This file system stores files in Google Storage. |
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
/blobstore/<identifier>
where <identifier>
is an opaque String
generated by the BlobStore.
public static final AppEngineFile.FileSystem GS
/gs/<identifier>
where <identifier>
is an opaque String generated by Google Storage. The
full path for a readable GS file is /gs/<bucket>/<key>
where
<bucket>
and <key>
are user-specified names. See comments at
the top of 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 |