public interface NoteWriter
Interface for exporters.
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> noteItems,
String originalRequestUrl)
Writes the exported content into the output stream.
|
String getContentType()
String getFileExtension()
boolean isAttachment()
boolean supportsHtmlContent()
boolean valid(String exportFormat)
exportFormat
- The format to be used for export.void write(NoteQueryParameters queryInstance, OutputStream outputStream, Collection<NoteData> noteItems, String originalRequestUrl) throws NoteWriterException
queryInstance
- The query instance.outputStream
- The outputstream.noteItems
- Teh note items.originalRequestUrl
- The original request urlNoteWriterException
- Exception.Copyright © 2019 Communote team. All rights reserved.