public class SoftwareInfo extends XMLInfo
<app_info> <app name='Expense Report' version='1.0.0.0.1'></app> <app name='eTravel' version='1.0.0.0.1'></app> </app_info>
Constructor and Description |
---|
SoftwareInfo(Device dev,
java.io.InputStream in)
Construct a
SoftwareInfo object given a
Device object and a java.io.InputStream |
SoftwareInfo(java.lang.String devId)
Construct a
SoftwareInfo object given a Device Id. |
SoftwareInfo(java.lang.String devId,
java.lang.String appName)
Construct a
SoftwareInfo object given a Device Id
and Application name. |
Modifier and Type | Method and Description |
---|---|
java.util.Vector |
getApplications()
Get the information about all the applications installed in the
client device.
|
void |
parse(java.io.InputStream in,
java.sql.Timestamp time)
Parse data from the InputStream and create nodes.
|
getDevice, getDeviceId, getParserError, getTime
getAttribute, getChildElement, getChildren, getChildText, getTagName, getText, getXMLText, load
public SoftwareInfo(Device dev, java.io.InputStream in)
SoftwareInfo
object given a
Device
object and a java.io.InputStream
dev
- Device objectin
- Inputstream containing software informationpublic SoftwareInfo(java.lang.String devId)
SoftwareInfo
object given a Device Id.devId
- Device Id.public SoftwareInfo(java.lang.String devId, java.lang.String appName)
SoftwareInfo
object given a Device Id
and Application name.devId
- Device Id.appName
- Application namepublic java.util.Vector getApplications()
java.util.Vector of application info.
public void parse(java.io.InputStream in, java.sql.Timestamp time) throws ResourceException
parse
in interface InfoReader
parse
in class XMLInfo
in
- InputStream containing data to be parsed.time
- Information retrieval time.oracle.lite.resource.ResourceException
ResourceException