|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectjava.io.InputStream
java.io.FilterInputStream
jsdsi.sexp.SexpInputStream
Reads serialized S-expressions from an underlying stream. Supports the canonical, transport, and readable S-expression encodings.
SexpOutputStream| Field Summary |
| Fields inherited from class java.io.FilterInputStream |
in |
| Constructor Summary | |
SexpInputStream(java.io.InputStream is)
Creates a new SexpInputStream that reads from the given stream. |
|
| Method Summary | |
Sexp |
readSexp()
Reads the next S-expression from the stream. |
| Methods inherited from class java.io.FilterInputStream |
available, close, mark, markSupported, read, read, read, reset, skip |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public SexpInputStream(java.io.InputStream is)
| Method Detail |
public Sexp readSexp()
throws SexpException,
java.io.IOException
readSexp in interface SexpInputjava.io.EOFException - if the stream is empty.
SexpException - if there is a decoding error.
java.io.IOException - if there is an IO error.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||