com.google.appengine.api.files.dev
Class ParsedFileName
java.lang.Object
com.google.appengine.api.files.dev.ParsedFileName
public class ParsedFileName
- extends java.lang.Object
This class parses a URL-encoded compound file name into its component parts.
The parts are fileSystem
, namePart
and params
. For
example the string "/blobstore/new?content_type=text%2fhtml&length=100" gets
parsed into:
-
fileSystem = blobstore
-
namePart = new
-
params = ["content_type" = "text/html", "length" = "100"]
Notice that the forward slash in text/html was URL-encoded in the input
string.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ParsedFileName
public ParsedFileName(java.lang.String decoratedName)
getParam
public java.lang.String getParam(java.lang.String param)
getFileSystem
public java.lang.String getFileSystem()
getNamePart
public java.lang.String getNamePart()