|
jSyncManager | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.jSyncManager.API.Protocol.Util.DLPBlock | +--org.jSyncManager.API.Protocol.Util.StdApps.MailAppBlock
Application information block for the Palm Mail database.
Field Summary | |
---|---|
static byte |
NO_UNSENT_MESSAGES
Specifies that this database contains no unsent messages. |
static byte |
SORT_BY_DATE
Specifies that this database is sorted by date. |
static byte |
SORT_BY_FROM
Specifies that this database is sorted by sender. |
static byte |
SORT_BY_SUBJECT
Specifies that this database is sorted by subject. |
Fields inherited from class org.jSyncManager.API.Protocol.Util.DLPBlock |
---|
blockSize, data |
Constructor Summary | |
---|---|
MailAppBlock()
MailAppBlock default constructor. |
|
MailAppBlock(DLPBlock block)
Construct a new MailAppBlock from the specified DLPBlock object as read from the handhelds Mail database. |
Method Summary | |
---|---|
protected void |
generateData()
Generate the raw data block from the existing fields. |
CategoryInfo[] |
getCategories()
Return an array of the category info blocks. |
char |
getDirtyAppInfo()
Get the designator for whether the app info has changed and needs to be refreshed. |
byte |
getLastUniqueID()
Get the last unique ID. |
int |
getNumCategories()
Return the number of categories. |
char |
getSignatureOffset()
Get the signature offset. |
byte |
getSortOrder()
Get the sort order for the data records. |
long |
getUnsentMessage()
Get the unsent message indicator value. |
protected void |
parseFields()
Parse the data fields. |
void |
setDirtyAppInfo(char c)
Set the designator for Whether the app info has changed and needs to be refreshed. |
void |
setLastUniqueID(byte b)
Set the last unique ID value. |
void |
setSignatureOffset(char c)
Set the signature offset. |
void |
setSortOrder(byte order)
Set the sort order of this application block. |
void |
setUnsentMessage(long l)
Set the unsent message indicator value. |
Methods inherited from class org.jSyncManager.API.Protocol.Util.DLPBlock |
---|
getBlockSize, getData, setData, toString |
Methods inherited from class java.lang.Object |
---|
|
Field Detail |
public static final byte SORT_BY_DATE
public static final byte SORT_BY_FROM
public static final byte SORT_BY_SUBJECT
public static final byte NO_UNSENT_MESSAGES
Constructor Detail |
public MailAppBlock()
public MailAppBlock(DLPBlock block)
block
- the DLPBlock object to create this object from.Method Detail |
protected void generateData()
generateData
in class DLPBlock
protected void parseFields()
parseFields
in class DLPBlock
public int getNumCategories()
public byte getSortOrder()
public void setSortOrder(byte order)
order
- byte representation of the sort order.public byte getLastUniqueID()
public void setLastUniqueID(byte b)
b
- byte value of last unique ID.public CategoryInfo[] getCategories()
public char getDirtyAppInfo()
public void setDirtyAppInfo(char c)
c
- the dirty App info indicator.public char getSignatureOffset()
public void setSignatureOffset(char c)
char
- Signature offset.public long getUnsentMessage()
public void setUnsentMessage(long l)
l
- Unsent message indicator value.
|
jSyncManager | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |