public class RtfNoteWriter extends Object implements NoteWriter
Constructor and Description |
---|
RtfNoteWriter() |
Modifier and Type | Method and Description |
---|---|
String |
getContentType() |
String |
getFileExtension() |
boolean |
isAttachment() |
boolean |
supportsHtmlContent() |
boolean |
valid(String exportFormat) |
void |
write(NoteQueryParameters queryInstance,
OutputStream outputStream,
Collection<NoteData> notes,
String requestUrl)
Export to RTF.
|
public String getContentType()
getContentType
in interface NoteWriter
public String getFileExtension()
getFileExtension
in interface NoteWriter
public boolean isAttachment()
NoteWriter
isAttachment
in interface NoteWriter
true
public boolean supportsHtmlContent()
supportsHtmlContent
in interface NoteWriter
public boolean valid(String exportFormat)
valid
in interface NoteWriter
exportFormat
- The format to be used for export.public void write(NoteQueryParameters queryInstance, OutputStream outputStream, Collection<NoteData> notes, String requestUrl) throws NoteWriterException
write
in interface NoteWriter
queryInstance
- The query instance.outputStream
- The outputstream.notes
- Teh note items.requestUrl
- The original request urlNoteWriterException
- Exception.Copyright © 2019 Communote team. All rights reserved.