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 NoteWriterpublic String getFileExtension()
getFileExtension in interface NoteWriterpublic boolean isAttachment()
NoteWriterisAttachment in interface NoteWritertruepublic boolean supportsHtmlContent()
supportsHtmlContent in interface NoteWriterpublic boolean valid(String exportFormat)
valid in interface NoteWriterexportFormat - The format to be used for export.public void write(NoteQueryParameters queryInstance, OutputStream outputStream, Collection<NoteData> notes, String requestUrl) throws NoteWriterException
write in interface NoteWriterqueryInstance - The query instance.outputStream - The outputstream.notes - Teh note items.requestUrl - The original request urlNoteWriterException - Exception.Copyright © 2019 Communote team. All rights reserved.