public class AppInfo extends XMLInfo
<app name='Expense Report' version='1.0.0.1'> <location>c:\abcd</location> <setup_time>1234455666</setup_time> <publish_time>1234455666</publish_time> <patches>12345,3456,234567</patches> </app>
Constructor and Description |
---|
AppInfo(java.lang.String devId,
org.w3c.dom.Element elem)
Construct an
AppInfo object |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getAppId() |
long |
getAppSize() |
long |
getBundleSize() |
java.util.Vector |
getFileInfo()
Return application file information.
|
java.lang.String |
getLocation()
Get the location (directory name) of the application
|
java.lang.String |
getName()
Get the name of the application
|
int[] |
getPatches()
Get application patch information.
|
java.sql.Timestamp |
getPublishTime()
Get the time when this application was published
|
java.sql.Timestamp |
getSetupTime()
Get the time when this application was set up
|
java.lang.String |
getStatus() |
java.lang.String |
getUdid() |
java.lang.String |
getVer() |
java.lang.String |
getVersion()
Get the version of the application
|
void |
setStatus(java.lang.String sta) |
getDevice, getDeviceId, getParserError, getTime, parse
getAttribute, getChildElement, getChildren, getChildText, getTagName, getText, getXMLText, load
public AppInfo(java.lang.String devId, org.w3c.dom.Element elem)
AppInfo
objectdevId
- Device Idelem
- org.w3c.dom.Element
objectpublic java.lang.String getAppId()
public long getAppSize()
public long getBundleSize()
public java.util.Vector getFileInfo()
java.util.Vector
containing FileInfo objectsFileInfo
public java.lang.String getLocation()
public java.lang.String getName()
public int[] getPatches()
public java.sql.Timestamp getPublishTime()
public java.sql.Timestamp getSetupTime()
public java.lang.String getStatus()
public java.lang.String getUdid()
public java.lang.String getVer()
public java.lang.String getVersion()
public void setStatus(java.lang.String sta)