|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface CSVView
The CSVView
interface provides comma separated value
(CSV) output format encapsulation.
This class is used to retrieve DataProvider
content in
binary CSV format with given delimiters.
Retrieve the contents of this object using BinaryView.getContent()
or
BinaryView.getContent(OutputStream outputStream)
for better performance.
Note: The current users locale is taken in to account for number and date formatting.
Note: By default, UTF8 encoding is used.
BinaryView
,
DataProvider
Method Summary | |
---|---|
java.lang.String |
getCharDelimiter()
Returns the character delimiter. |
java.lang.String |
getCharset()
Return the charset. |
java.lang.String |
getColumnSeparator()
Returns the column separator. |
void |
getContent(java.io.Writer writer)
Write the contents of the view to a HTML stream. |
java.lang.String |
getEndOfLine()
Return the end of line delimiter. |
void |
setCharDelimiter(java.lang.String charDelimiter)
Set the character delimiter. |
void |
setCharset(java.lang.String charset)
Set the charset. |
void |
setColumnSeparator(java.lang.String columnSeparator)
Set the column separator. |
void |
setEndOfLine(java.lang.String eol)
Set the end of line delimiter. |
Methods inherited from interface com.businessobjects.rebean.wi.CharacterView |
---|
getContent, getEncoding, getStream |
Method Detail |
---|
java.lang.String getColumnSeparator()
void setColumnSeparator(java.lang.String columnSeparator)
columnSeparator
- The character to be used as a column separator in the returned view.java.lang.String getCharDelimiter()
void setCharDelimiter(java.lang.String charDelimiter)
charDelimiter
- The character to be used as a character delimiter in the returned view.java.lang.String getEndOfLine()
void setEndOfLine(java.lang.String eol)
eol
- The character to be used as an end of line delimiter in the returned view.java.lang.String getCharset()
void setCharset(java.lang.String charset)
charset
- The charset to be used.void getContent(java.io.Writer writer)
writer
- The HTML stream in which the content will be displayed.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |