|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Object com.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 static Logger |
logger
|
protected Map<Integer,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()
Deprecated. |
Set<String> |
getPropertiesAsHex()
This method provides a convenient way of retrieving property keys for all guys that like to stick to hex values. |
Object |
getProperty(String name)
Deprecated. |
Set<Integer> |
getPropertyCodes()
This method returns a list of all available properties. |
Object |
getPropertyFromHex(String name)
This method provides a convenient way of retrieving properties for all guys that like to stick to hex values. |
Object |
getPropertyValue(Integer code)
This method retrieves the value for a specific property. |
String |
getToEmail()
|
String |
getToName()
|
void |
setProperty(MessageProperty msgProp)
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 static final Logger logger
protected String toEmail
protected String toName
protected Map<Integer,Object> properties
Constructor Detail |
---|
public RecipientEntry()
Method Detail |
---|
public void setProperty(MessageProperty msgProp) throws ClassCastException
properties
map. Some properties are put into
special attributes (e.g., toEmail
when
the property name is '0076').
msgProp
- The property to be set.
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()
@Deprecated public Set<String> getProperties()
public Set<String> getPropertiesAsHex()
getPropertyCodes()
.
@Deprecated public Object getProperty(String name)
getPropertyCodes()
for dealing with
integer based keys.
public Object getPropertyFromHex(String name)
getPropertyValue(Integer)
.
name
- The hex notation of the property to be retrieved.
public Set<Integer> getPropertyCodes()
public Object getPropertyValue(Integer code)
getPropertyValue(Integer)
for dealing with
integer based keys.
MAPIProp
to easily read certain properties.
code
- The key for the property to be retrieved.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |