edu.umd.cs.jazz.io
Class ZExtendedInputStream

java.lang.Object
  |
  +--edu.umd.cs.jazz.io.ZExtendedInputStream
All Implemented Interfaces:
java.io.Serializable

public class ZExtendedInputStream
extends java.lang.Object
implements java.io.Serializable

Warning: Serialized and ZSerialized objects of this class will not be compatible with future Jazz releases. The current serialization support is appropriate for short term storage or RMI between applications running the same version of Jazz. A future release of Jazz will provide support for long term persistence.

See Also:
Serialized Form

Field Summary
protected  long filePosition
           
protected  java.io.InputStream stream
           
 
Constructor Summary
ZExtendedInputStream(java.io.InputStream stream)
           
 
Method Summary
 int available()
           
 void close()
           
 long getFilePosition()
           
static void main(java.lang.String[] args)
           
 void mark(int readlimit)
           
 boolean markSupported()
           
 int read()
           
 int read(byte[] b)
           
 int read(byte[] b, int off, int len)
           
 void reset()
           
 void setFilePosition(long n)
           
 long skip(long n)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

stream

protected java.io.InputStream stream

filePosition

protected long filePosition
Constructor Detail

ZExtendedInputStream

public ZExtendedInputStream(java.io.InputStream stream)
Method Detail

setFilePosition

public void setFilePosition(long n)
                     throws java.io.IOException
java.io.IOException

getFilePosition

public long getFilePosition()

skip

public long skip(long n)
          throws java.io.IOException
java.io.IOException

read

public int read()
         throws java.io.IOException
java.io.IOException

read

public int read(byte[] b)
         throws java.io.IOException
java.io.IOException

read

public int read(byte[] b,
                int off,
                int len)
         throws java.io.IOException
java.io.IOException

available

public int available()
              throws java.io.IOException
java.io.IOException

close

public void close()
           throws java.io.IOException
java.io.IOException

mark

public void mark(int readlimit)

reset

public void reset()
           throws java.io.IOException
java.io.IOException

markSupported

public boolean markSupported()

main

public static final void main(java.lang.String[] args)


Copyright 2003 by University of Maryland, College Park, MD 20742, USA All rights reserved.