|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcsheets.io.CSVCodec
public class CSVCodec
A codec for comma-separated files.
| Field Summary | |
|---|---|
static String |
SEPARATOR
The string used to separate the content of different cells |
| Constructor Summary | |
|---|---|
CSVCodec()
Creates a new CSV codec. |
|
| Method Summary | |
|---|---|
Workbook |
read(InputStream stream)
Reads a workbook from the given input stream. |
void |
write(Workbook workbook,
OutputStream stream)
Writes a workbook to the given output stream. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String SEPARATOR
| Constructor Detail |
|---|
public CSVCodec()
| Method Detail |
|---|
public Workbook read(InputStream stream)
throws IOException
Codec
read in interface Codecstream - the input stream from which the workbook should be read
IOException - if the workbook could not be read correctly
public void write(Workbook workbook,
OutputStream stream)
throws IOException
Codec
write in interface Codecstream - the output stream to which the workbook should be written
IOException - if the workbook could not be written correctly
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||