|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.ibm.workplace.wcm.api.CSVDocumentListWriter
public class CSVDocumentListWriter
Implementation of a DocumentListWriter that writes
a document list as comma separated value list with each document in
a single row.
| Field Summary | |
|---|---|
static java.lang.String |
COPYRIGHT
Copyright statement |
static java.lang.String |
DEFAULT_SEPARATOR
The default separator "," used when no other separator string was set |
| Constructor Summary | |
|---|---|
CSVDocumentListWriter(java.io.Writer delegate)
Create a new CSVDocumentListWriter object that writes to the passed character stream and uses the default separator DEFAULT_SEPARATOR |
|
CSVDocumentListWriter(java.io.Writer delegate,
java.lang.String separator)
Create a new CSVDocumentListWriter object that writes to the passed character stream and uses the passed separator. |
|
| Method Summary | |
|---|---|
void |
writeEndDocument()
Write an element for the end of a new document entry in the document list |
void |
writeEndDocumentList()
Write an element for the end of a document list. |
void |
writeEndProperty()
Write an element for the end of a property entry for a document entry in the document list |
void |
writeEndType()
Write an element for the end of a document type section within the document list |
void |
writeStartDocument()
Write an element for the start of a new document entry in the document list |
void |
writeStartDocumentList(java.util.Locale locale)
Writes an element for the start of the document list. |
void |
writeStartProperty()
Write an element for the start of a property entry for a document entry in the document list |
void |
writeStartType(java.lang.String type)
Write an element for the start of a new document type section within the document list |
void |
writeValue(java.lang.String value)
Write a value to the document list |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String COPYRIGHT
public static final java.lang.String DEFAULT_SEPARATOR
| Constructor Detail |
|---|
public CSVDocumentListWriter(java.io.Writer delegate)
DEFAULT_SEPARATOR
delegate - The underlying character stream to write to
public CSVDocumentListWriter(java.io.Writer delegate,
java.lang.String separator)
delegate - The underlying character stream to write toseparator - The string used to separate properties| Method Detail |
|---|
public void writeEndDocument()
throws java.io.IOException
DocumentListWriter
writeEndDocument in interface DocumentListWriterjava.io.IOException - If unable to write to underlying stream
public void writeEndDocumentList()
throws java.io.IOException
DocumentListWriter
writeEndDocumentList in interface DocumentListWriterjava.io.IOException - If unable to write to underlying stream
public void writeEndProperty()
throws java.io.IOException
DocumentListWriter
writeEndProperty in interface DocumentListWriterjava.io.IOException - If unable to write to underlying stream
public void writeEndType()
throws java.io.IOException
DocumentListWriter
writeEndType in interface DocumentListWriterjava.io.IOException - If unable to write to underlying stream
public void writeStartDocument()
throws java.io.IOException
DocumentListWriter
writeStartDocument in interface DocumentListWriterjava.io.IOException - If unable to write to underlying stream
public void writeStartDocumentList(java.util.Locale locale)
throws java.io.IOException
DocumentListWriter
writeStartDocumentList in interface DocumentListWriterlocale - The language used to localize information in the list
java.io.IOException - If unable to write to underlying stream
public void writeStartProperty()
throws java.io.IOException
DocumentListWriter
writeStartProperty in interface DocumentListWriterjava.io.IOException - If unable to write to underlying stream
public void writeStartType(java.lang.String type)
throws java.io.IOException
DocumentListWriter
writeStartType in interface DocumentListWritertype - The non-localized name of the type
java.io.IOException - If unable to write to underlying stream
public void writeValue(java.lang.String value)
throws java.io.IOException
DocumentListWriter
writeValue in interface DocumentListWritervalue - The value to write
java.io.IOException - If unable to write to underlying stream
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||