jsdsi.sexp
Class ObjInputStream
java.lang.Object
java.io.InputStream
java.io.FilterInputStream
jsdsi.sexp.ObjInputStream
- public class ObjInputStream
- extends java.io.FilterInputStream
Reads SDSI objects encoded as S-expressions from an underlying
stream. Supports the canonical, transport, and readable S-expression
encodings.
- Version:
- $Revision: 1.1.6.1 $ $Date: 2005/11/08 03:12:52 $
- Author:
- Sameer Ajmani
- See Also:
SexpInputStream
,
ObjOutputStream
Fields inherited from class java.io.FilterInputStream |
in |
Constructor Summary |
ObjInputStream(java.io.InputStream is)
Creates a new ObjInputStream that reads from the given stream. |
Method Summary |
Obj |
readObj()
Reads an Obj from the underlying 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 |
MAX_OBJ_SIZE
public static final int MAX_OBJ_SIZE
- See Also:
- Constant Field Values
ObjInputStream
public ObjInputStream(java.io.InputStream is)
- Creates a new ObjInputStream that reads from the given stream.
readObj
public Obj readObj()
throws SexpParseException,
SexpException,
java.io.IOException
- Reads an Obj from the underlying stream.
- Throws:
SexpParseException
SexpException
java.io.IOException
Copyright © 2002-2006 JSDSI. All Rights Reserved.