public class FileAttachment extends Object
Modifier and Type | Field and Description |
---|---|
protected String |
attachmentId |
protected String |
content |
protected String |
contentType |
protected boolean |
isContactPhoto |
protected String |
name |
Constructor and Description |
---|
FileAttachment()
Default constructor
|
FileAttachment(String name,
String contentType,
String content)
Build file attachment.
|
Modifier and Type | Method and Description |
---|---|
void |
setIsContactPhoto(boolean isContactPhoto)
Exchange 2010 only: set contact photo flag on attachment.
|
void |
write(Writer writer)
Write XML content to writer.
|
protected String name
protected String contentType
protected String content
protected String attachmentId
protected boolean isContactPhoto
public void write(Writer writer) throws IOException
writer
- writerIOException
- on errorpublic void setIsContactPhoto(boolean isContactPhoto)
isContactPhoto
- contact photo flagCopyright © 2001–2024 MickaĆ«l Guessant. All rights reserved.