|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectmicrosoft.exchange.webservices.data.ComplexProperty
microsoft.exchange.webservices.data.MimeContent
public final class MimeContent
Represents the MIME content of an item.
| Constructor Summary | |
|---|---|
MimeContent()
Initializes a new instance of the class. |
|
MimeContent(String characterSet,
byte[] content)
Initializes a new instance of the class. |
|
| Method Summary | |
|---|---|
String |
getCharacterSet()
Gets the character set of the content. |
byte[] |
getContent()
Gets the character set of the content. |
protected void |
readAttributesFromXml(microsoft.exchange.webservices.data.EwsServiceXmlReader reader)
Reads attributes from XML. |
protected void |
readTextValueFromXml(microsoft.exchange.webservices.data.EwsServiceXmlReader reader)
Reads text value from XML. |
void |
setCharacterSet(String characterSet)
Sets the character set. |
void |
setContent(byte[] content)
Sets the content. |
String |
toString()
Writes attributes to XML. |
protected void |
writeAttributesToXml(microsoft.exchange.webservices.data.EwsServiceXmlWriter writer)
Writes attributes to XML. |
protected void |
writeElementsToXml(microsoft.exchange.webservices.data.EwsServiceXmlWriter writer)
Writes elements to XML. |
| Methods inherited from class microsoft.exchange.webservices.data.ComplexProperty |
|---|
addOnChangeEvent, canSetFieldValue, changed, clearChangeEvents, clearChangeLog, getNamespace, internalValidate, loadFromXml, loadFromXml, removeChangeEvent, setNamespace, tryReadElementFromXml, validate, writeToXml, writeToXml |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public MimeContent()
public MimeContent(String characterSet,
byte[] content)
characterSet - the character setcontent - the content| Method Detail |
|---|
protected void readAttributesFromXml(microsoft.exchange.webservices.data.EwsServiceXmlReader reader)
throws Exception
readAttributesFromXml in class ComplexPropertyreader - the reader
Exception - the exception
protected void readTextValueFromXml(microsoft.exchange.webservices.data.EwsServiceXmlReader reader)
throws XMLStreamException,
ServiceXmlDeserializationException
readTextValueFromXml in class ComplexPropertyreader - the reader
XMLStreamException - the xML stream exception
ServiceXmlDeserializationException - the service xml deserialization exception
protected void writeAttributesToXml(microsoft.exchange.webservices.data.EwsServiceXmlWriter writer)
throws ServiceXmlSerializationException
writeAttributesToXml in class ComplexPropertywriter - the writer
ServiceXmlSerializationException - the service xml serialization exception
protected void writeElementsToXml(microsoft.exchange.webservices.data.EwsServiceXmlWriter writer)
throws XMLStreamException
writeElementsToXml in class ComplexPropertywriter - the writer
XMLStreamException - the xML stream exceptionpublic String getCharacterSet()
public void setCharacterSet(String characterSet)
characterSet - the new character setpublic byte[] getContent()
public void setContent(byte[] content)
content - the new contentpublic String toString()
toString in class Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||