|
jSyncManager | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jSyncManager.API.Protocol.Util.DLPDatabaseListGroup
A class to store a group of database information objects. This class holds information on a group of databases.
| Field Summary | |
static byte |
MORE_DATABASES
A flag to denote that there are more database info to be retreived from the handheld. |
| Constructor Summary | |
DLPDatabaseListGroup(byte[] groupData)
Construct a new database list group object based on the byte array retreived from the handheld. |
|
| Method Summary | |
static DLPDatabaseListGroup |
bytes2DBList(byte[] data)
Converts a list of database information to a Database List group object. |
boolean |
checkFlag(byte flag)
Tests to see if the specified flag is present in this object. |
byte |
getActualCount()
Returns the actual count of databases. |
DLPDatabaseInfo |
getElement(int i)
Retreives the specified element from the database info array. |
byte |
getFlags()
Retreives the flags associated with this object. |
char |
getLastIndex()
Returns the last index number for the database info array. |
boolean |
hasMoreElements()
Tests to see if this enumeration has more elements. |
java.lang.Object |
nextElement()
Retreives the next element of this enumeration. |
java.lang.String |
toString()
Converts this objects data to a human readable String. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
public static final byte MORE_DATABASES
| Constructor Detail |
public DLPDatabaseListGroup(byte[] groupData)
throws DLPFunctionCallException
groupData - the byte array containing the database data list retreived from the handheld.
DLPFunctionCallException - thrown if a parsing error occurs.| Method Detail |
public static DLPDatabaseListGroup bytes2DBList(byte[] data)
throws DLPFunctionCallException
data - a byte array of database list information.
DLPFunctionCallException - thrown if there are any array parsing errors.public boolean checkFlag(byte flag)
flag - the flag to test.
public byte getActualCount()
public DLPDatabaseInfo getElement(int i)
i - the index of the item to query.
public byte getFlags()
public char getLastIndex()
public boolean hasMoreElements()
hasMoreElements in interface java.util.Enumerationpublic java.lang.Object nextElement()
nextElement in interface java.util.EnumerationDLPDatabaseInfopublic java.lang.String toString()
|
jSyncManager | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||