public class SyncLog extends java.lang.Object implements InfoReader
"ERROR",-3023,"11/24/2002 14:40:42","message file is not loaded -3023:0" "ERROR",-9108,"11/24/2002 14:42:43","Error receiving HTTP header. -9108:0"
Constructor and Description |
---|
SyncLog(java.lang.String devId)
Construct a
SyncLog object. |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getDeviceId()
Get the id of the device.
|
java.util.Enumeration |
getSyncLog()
Get synchronization log as a
java.util.Enumeration
object. |
java.sql.Timestamp |
getTime()
Retrieve information date/time creation/retrieval date
|
void |
parse(java.io.InputStream in,
java.sql.Timestamp time)
Parse synchronization log information and retrieve log entries.
|
public SyncLog(java.lang.String devId)
SyncLog
object.devId
- Device Id.public java.lang.String getDeviceId()
public java.util.Enumeration getSyncLog()
java.util.Enumeration
object. Each entry in the Enumeration is a string.java.util.Enumeration
of sync log Strings.public java.sql.Timestamp getTime()
getTime
in interface InfoReader
public void parse(java.io.InputStream in, java.sql.Timestamp time) throws ResourceException
parse
in interface InfoReader
in
- InputStream containing data to be parsed.time
- Log timeIf
- an error occured while reading the input stream.ResourceException