public static enum AppEngineFile.FileSystem extends java.lang.Enum<AppEngineFile.FileSystem>
| Enum Constant and Description |
|---|
BLOBSTORE
This file system stores files as blobs in the App Engine BlobStore.
|
GS
This file system stores files in Google Storage.
|
| Modifier and Type | Method and Description |
|---|---|
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.
|
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.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 namejava.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.