|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectinfovis.io.AbstractWriter
infovis.table.io.CSVTableWriter
public class CSVTableWriter
Write an Excel CVS format a a table.
| Constructor Summary | |
|---|---|
CSVTableWriter(OutputStream out,
String name,
Table table)
Constructor. |
|
CSVTableWriter(OutputStream out,
Table table)
Constructor. |
|
| Method Summary | |
|---|---|
char |
getSeparator()
Returns the separator. |
boolean |
isLabelLinePresent()
Returns the labelLinePresent. |
boolean |
isTypeLinePresent()
Returns the typeLinePresent. |
String |
quoteString(String s)
Returns a quoted string from a specified string. |
void |
setLabelLinePresent(boolean labelLinePresent)
Sets the labelLinePresent. |
void |
setSeparator(char separator)
Sets the separator. |
void |
setTypeLinePresent(boolean typeLinePresent)
Sets the typeLinePresent. |
boolean |
write()
Abstract method that performs the actual writing of data. |
| Methods inherited from class infovis.io.AbstractWriter |
|---|
addAllColumnLabels, addColumnLabel, flush, getColumnLabelAt, getColumnLabels, getEncoding, getName, getOut, getWriter, namedType, setEncoding, write, write, writeBuffer, writeln |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CSVTableWriter(OutputStream out,
String name,
Table table)
out - the output streamname - the nametable - the table
public CSVTableWriter(OutputStream out,
Table table)
out - the output streamtable - the table| Method Detail |
|---|
public String quoteString(String s)
s - the string
public boolean write()
write in class AbstractWriterpublic char getSeparator()
public void setSeparator(char separator)
separator - The separator to setpublic boolean isLabelLinePresent()
public boolean isTypeLinePresent()
public void setLabelLinePresent(boolean labelLinePresent)
labelLinePresent - The labelLinePresent to setpublic void setTypeLinePresent(boolean typeLinePresent)
typeLinePresent - The typeLinePresent to set
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||