Microsoft SDK for Java

OffsetInputStreamFilter Class

The OffsetInputStreamFilter Class of the com.ms.io package represents a filter input stream that keeps track of the byte offset into the stream.

public class OffsetInputStreamFilter extends FilterInputStream
{
  // Constructors
  public OffsetInputStreamFilter(InputStream i);

  // Methods
  public long getOffset();
  public void mark(int readlimit);
  public synchronized int read() throws IOException;
  public synchronized int read(byte b[], int off, int len)
        throws IOException;
  public void reset() throws IOException;
  public synchronized long skip(long n) throws IOException;
  public synchronized long skipToAlignment(int align)
        throws IOException;
}

Hierarchy

FilterInputStream
  |
  +--OffsetInputStreamFilter

© 1999 Microsoft Corporation. All rights reserved. Terms of use.