Package com.google.apphosting.base
Class AppId
- java.lang.Object
-
- com.google.apphosting.base.AppId
-
public class AppId extends Object
Class used for parsing the various components of the AppId.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetAppId()StringgetDisplayAppId()StringgetDomain()StringgetLongAppId()StringgetPartition()static AppIdparse(String appId)Returns a new AppId object based on an appId formatted as follows: [(partition)~][(domain):](display-app-id)
-
-
-
Method Detail
-
getAppId
public String getAppId()
- Returns:
- The full appId.
-
getDomain
public String getDomain()
- Returns:
- The domain component of this appId.
-
getDisplayAppId
public String getDisplayAppId()
- Returns:
- The display-app-id component of this appId.
-
getPartition
public String getPartition()
- Returns:
- The partition component of the appId.
-
getLongAppId
public String getLongAppId()
- Returns:
- The appId without the partition component.
-
-