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 NoteWriterpublic String getFileExtension()
getFileExtension in interface NoteWriterpublic String getTitle(Locale locale)
locale - The locale to use.public boolean isAttachment()
NoteWriterisAttachment in interface NoteWriterfalsepublic 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.