public class NoteWriter extends XmlWriter
Modifier and Type | Field and Description |
---|---|
private java.text.DateFormat |
iso8601Format |
Constructor and Description |
---|
NoteWriter(java.io.OutputStream out)
Create a NoteWriter that will write to a given OutputStream.
|
NoteWriter(java.io.PrintWriter out)
Create a NoteWriter that will write to the given PrintWriter
|
Modifier and Type | Method and Description |
---|---|
void |
write(NoteData data)
Write notes to designated output target
|
private void |
writeComment(NoteComment comment) |
private final java.text.DateFormat iso8601Format
public NoteWriter(java.io.PrintWriter out)
out
- PrintWriter to write XML topublic NoteWriter(java.io.OutputStream out)
out
- OutputStream to write XML topublic void write(NoteData data)
data
- Note collection to writeprivate void writeComment(NoteComment comment)