jsdsi.sexp
Class ObjInputStream

java.lang.Object
  extended byjava.io.InputStream
      extended byjava.io.FilterInputStream
          extended byjsdsi.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

Field Summary
static int MAX_OBJ_SIZE
           
 
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
 

Field Detail

MAX_OBJ_SIZE

public static final int MAX_OBJ_SIZE
See Also:
Constant Field Values
Constructor Detail

ObjInputStream

public ObjInputStream(java.io.InputStream is)
Creates a new ObjInputStream that reads from the given stream.

Method Detail

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.