|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.aspose.email.MapiPropertyContainer
public abstract class MapiPropertyContainer
Represents the base class for
MapiAttachment
,
MapiRecipient
,
MapiMessage
.
Method Summary | |
---|---|
com.aspose.email.IMapiNode |
createMapiNode(String key)
Creates the mapi node. |
int |
getCodePage()
Gets the code page. |
MapiPropertyCollection |
getMyProperties()
Gets my properties. |
MapiPropertyCollection |
getProperties()
Gets the collection of properties. |
Boolean |
getPropertyBoolean(long tag)
Gets the value of the property specified by tag as Boolean type. |
byte[] |
getPropertyBytes(long tag)
Gets the string value of the property specified by tag. |
Date |
getPropertyDateTime(long key)
|
Integer |
getPropertyInt32(long tag)
Gets the int32 value of the property specified by tag. |
Long |
getPropertyLong(long tag)
Gets the value of the property specified by tag as Long (int64) type. |
Short |
getPropertyShort(long tag)
Gets the value of the property specified by tag as Short type. |
String |
getPropertyString(long tag)
Gets the string value of the property specified by tag. |
String |
getPropertyString(long tag,
int codepage)
Gets the string value of the property specified by tag. |
void |
setNamedPropertyMapping(MapiNamedPropertyMappingStorage value)
Sets the named property mapping. |
void |
setProperty(long value,
long signed,
long tag)
Sets the property. |
void |
setProperty(MapiAttachment value,
long signed,
long tag)
Sets the property. |
abstract void |
setProperty(MapiProperty property)
Sets the property. |
void |
setProperty(MapiProperty value,
long signed,
long tag)
Sets the property. |
void |
setProperty(MapiPropertyStream value,
long signed,
long tag)
Sets the property. |
void |
setProperty(MapiRecipient value,
long signed,
long tag)
Sets the property. |
void |
setPropertySet(MapiProperty value,
long signed,
long tag)
Sets the property set. |
byte[] |
tryGetPropertyData(long tag)
Try to get the property data with specified tag key. |
boolean |
tryGetPropertyDateTime(long tag,
Date[] value)
|
boolean |
tryGetPropertyInt32(long tag,
int[] value)
Gets the value of the specified property as Int32 type. |
boolean |
tryGetPropertyLong(long tag,
long[] value)
Gets the value of the specified property as Long type. |
String |
tryGetPropertyString(long tag)
Try to get a property data as string with specified tag. |
String |
tryGetPropertyString(long tag,
int codepage)
Try to get a property data as string with specified tag and code page. |
boolean |
tryGetPropertyString(long tag,
String[] value)
Gets the value of the specified property as String type. |
boolean |
tryGetPropertyString(long tag,
String[] value,
int codepage)
Gets the value of the specified property as String type. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public MapiPropertyCollection getProperties()
Gets the collection of properties.
Value: The properties.
public int getCodePage()
Gets the code page.
Value: The code page.
public MapiPropertyCollection getMyProperties()
Gets my properties.
Value: My properties.
public String tryGetPropertyString(long tag, int codepage)
Try to get a property data as string with specified tag and code page.
tag
- The property tag key.codepage
- The code page.
public byte[] tryGetPropertyData(long tag)
Try to get the property data with specified tag key.
tag
- The tag key.
public String tryGetPropertyString(long tag)
Try to get a property data as string with specified tag.
tag
- The property tag key.
public String getPropertyString(long tag, int codepage)
Gets the string value of the property specified by tag.
tag
- The MAPI property tag.codepage
- The specified codepage used to get string value.
public String getPropertyString(long tag)
Gets the string value of the property specified by tag.
tag
- The MAPI property tag.
public byte[] getPropertyBytes(long tag)
Gets the string value of the property specified by tag.
tag
- The MAPI property tag.
public abstract void setProperty(MapiProperty property)
Sets the property.
property
- The property.
NotImplementedException
public Integer getPropertyInt32(long tag)
Gets the int32 value of the property specified by tag.
tag
- The MAPI property tag.
public Long getPropertyLong(long tag)
Gets the value of the property specified by tag as Long (int64) type.
tag
- The MAPI property tag.
public Short getPropertyShort(long tag)
Gets the value of the property specified by tag as Short type.
tag
- The MAPI property tag.
public Boolean getPropertyBoolean(long tag)
Gets the value of the property specified by tag as Boolean type.
tag
- The MAPI property tag.
public Date getPropertyDateTime(long key)
public boolean tryGetPropertyString(long tag, String[] value, int codepage)
Gets the value of the specified property as String type. A return value indicates whether the operation succeeded.
tag
- The MAPI property tag.value
- When this method returns, contains the value
of the specified property, if the property exists. This parameter is passed uninitialized.codepage
- The specified codepage used to get string value.
public boolean tryGetPropertyString(long tag, String[] value)
Gets the value of the specified property as String type. A return value indicates whether the operation succeeded.
tag
- The MAPI property tag.value
- When this method returns, contains
the value of the specified property, if the property exists.
This parameter is passed uninitialized.
public boolean tryGetPropertyDateTime(long tag, Date[] value)
public boolean tryGetPropertyLong(long tag, long[] value)
Gets the value of the specified property as Long type. A return value indicates whether the operation succeeded.
tag
- The MAPI property tag.value
- When this method returns, contains the value of the specified property,
if the property exists. This parameter is passed uninitialized.
public boolean tryGetPropertyInt32(long tag, int[] value)
Gets the value of the specified property as Int32 type. A return value indicates whether the operation succeeded.
tag
- The MAPI property tag.value
- When this method returns, contains the value
of the specified property, if the property exists.
This parameter is passed uninitialized.
public void setProperty(MapiAttachment value, long signed, long tag)
Sets the property.
value
- The property value.signed
- The signed.tag
- The property tag.public void setProperty(MapiPropertyStream value, long signed, long tag)
Sets the property.
value
- The property value.signed
- The signed.tag
- The property tag.public void setProperty(MapiRecipient value, long signed, long tag)
Sets the property.
value
- The property value.signed
- The signed.tag
- The property tag.public void setProperty(long value, long signed, long tag)
Sets the property.
value
- The property value.signed
- The signed.tag
- The property tag.public void setProperty(MapiProperty value, long signed, long tag)
Sets the property.
value
- The property value.signed
- The signed.tag
- The property tag.public void setPropertySet(MapiProperty value, long signed, long tag)
Sets the property set.
value
- The proeprty value.signed
- The signed.tag
- The property tag.public void setNamedPropertyMapping(MapiNamedPropertyMappingStorage value)
Sets the named property mapping.
value
- The value.public com.aspose.email.IMapiNode createMapiNode(String key)
Creates the mapi node.
key
- The node key.
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |