|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--brf.j2me.dynaworks.db.Record
|
+--brf.j2me.dynaworks.db.palm.PalmRec
|
+--brf.j2me.dynaworks.db.palm.MailRec
A MailRec refers to an entry in the Palm build-in eMail database.
MailDB,
PalmRec,
Record| Field Summary | |
private int |
flags
bit-coded record flags. |
static int |
FLD_BLINDCARBON
|
static int |
FLD_BODY
|
static int |
FLD_CARBONCOPY
|
static int |
FLD_RECEIPIENT
|
static int |
FLD_SENDER
|
static int |
FLD_SUBJECT
field indices. |
static int |
PRIO_HIGH
priority settings. |
static int |
PRIO_LOW
|
static int |
PRIO_NORMAL
|
private int[] |
strLength
|
private int[] |
strStart
parameters to address the note in the record. |
| Fields inherited from class brf.j2me.dynaworks.db.Record |
content, fields, sequence |
| Constructor Summary | |
MailRec()
constructor. |
|
| Method Summary | |
int |
getPriority()
Get the priority of the mail. |
Date |
getSendDate()
Get the date stamp for this eMail. |
java.lang.String |
getString(int field)
Get a field content address by a field constant. |
boolean |
isConfirmDelivery()
Must the delivery of this eMail be confirmed? |
boolean |
isConfirmRead()
Confirm the reading of this eMail? |
boolean |
isRead()
eMail already read? |
boolean |
isSignature()
Is a signature included inthe eMail? |
void |
update(boolean tomem)
Transfer the record content to the field variables. |
| Methods inherited from class brf.j2me.dynaworks.db.palm.PalmRec |
bitCount, intValue, shortValue |
| Methods inherited from class brf.j2me.dynaworks.db.Record |
addField, getBytes, getContent, getField, getInt, getShort, getString, readField, setBytes, setContent, setField, setInt, setShort, setString, size, writeField |
| Methods inherited from class java.lang.Object |
|
| Field Detail |
private int[] strStart
These values are only valid if FLG_NOTE is set.
private int[] strLength
private int flags
public static final int FLD_SUBJECT
public static final int FLD_SENDER
public static final int FLD_RECEIPIENT
public static final int FLD_CARBONCOPY
public static final int FLD_BLINDCARBON
public static final int FLD_BODY
public static final int PRIO_HIGH
public static final int PRIO_NORMAL
public static final int PRIO_LOW
| Constructor Detail |
public MailRec()
| Method Detail |
public void update(boolean tomem)
Although an MailRecord is derived from a "normal" record, it's not using the RecordField mechanism to access its data but it stores and retreives its fields in a different way (directly from the content byte array).
update in class Recordtomem - boolean - direction of transferpublic Date getSendDate()
Datepublic int getPriority()
PRIO_HIGHpublic java.lang.String getString(int field)
FLD_SUBJECTpublic boolean isConfirmDelivery()
public boolean isConfirmRead()
public boolean isSignature()
public boolean isRead()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||