|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Objectcom.auxilii.msgparser.RecipientEntry
public class RecipientEntry
This class represents a recipient's entry of the parsed .msg file. It provides informations like the email address and the display name.
Field Summary | |
---|---|
protected Map<String,Object> |
properties
Contains all properties that are not covered by the special properties. |
protected String |
toEmail
The address part of To: mail address. |
protected String |
toName
The address part of To: name. |
Constructor Summary | |
---|---|
RecipientEntry()
|
Method Summary | |
---|---|
Set<String> |
getProperties()
|
Object |
getProperty(String name)
|
String |
getToEmail()
|
String |
getToName()
|
void |
setProperty(String name,
Object value)
Sets the name/value pair in the properties
map. |
void |
setToEmail(String toEmail)
|
void |
setToName(String toName)
|
String |
toString()
Provides a short representation of this recipient object (e.g. |
Methods inherited from class Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected String toEmail
protected String toName
protected Map<String,Object> properties
Constructor Detail |
---|
public RecipientEntry()
Method Detail |
---|
public void setProperty(String name, Object value) throws ClassCastException
properties
map. Some properties are put into
special attributes (e.g., toEmail
when
the property name is '0076').
name
- The property name (i.e., the class
of the document entry).value
- The value of the field.
ClassCastException
- Thrown if the detected data
type does not match the expected data type.public String getToEmail()
public void setToEmail(String toEmail)
toEmail
- the to email to be setpublic String getToName()
public void setToName(String toName)
toName
- the to name to be setpublic String toString()
toString
in class Object
Object.toString()
public Set<String> getProperties()
public Object getProperty(String name)
name
- the name of the property to be returned.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |