|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcsheets.io.CLSCodec
public class CLSCodec
A codec for the native CleanSheets format that uses Java Serialization.
| Constructor Summary | |
|---|---|
CLSCodec()
Creates a new CleanSheets 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 |
| Constructor Detail |
|---|
public CLSCodec()
| Method Detail |
|---|
public Workbook read(InputStream stream)
throws IOException,
ClassNotFoundException
Codec
read in interface Codecstream - the input stream from which the workbook should be read
IOException - if the workbook could not be read correctly
ClassNotFoundException - If the class of a serialized object could not be found
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 | |||||||||