public class RssNoteWriter extends Object implements NoteWriter
Constructor and Description |
---|
RssNoteWriter() |
Modifier and Type | Method and Description |
---|---|
String |
getContentType() |
String |
getFileExtension() |
String |
getTitle(Locale locale) |
boolean |
isAttachment() |
boolean |
supportsHtmlContent() |
boolean |
valid(String exportFormat) |
void |
write(NoteQueryParameters queryInstance,
OutputStream outputStream,
Collection<NoteData> notes,
String requestUrl)
Exports to RSS.
|
public String getContentType()
getContentType
in interface NoteWriter
public String getFileExtension()
getFileExtension
in interface NoteWriter
public String getTitle(Locale locale)
locale
- The locale to use.public boolean isAttachment()
NoteWriter
isAttachment
in interface NoteWriter
false
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.