public class NoteWriter extends XmlWriter
| Modifier and Type | Field and Description |
|---|---|
private java.text.SimpleDateFormat |
ISO8601_FORMAT |
| 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.SimpleDateFormat ISO8601_FORMAT
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)