Microsoft SDK for Java

ActiveXInputStream Class

The ActiveXInputStream Class of the com.ms.ActiveX package provides access to methods that manipulate input streams.

public class ActiveXInputStream extends InputStream
{
  // Constructors
  public ActiveXInputStream(IStream stream);

  // Methods
  public int available() throws IOException;
  public void close() throws IOException;
  public int read() throws IOException;
  public int read(byte b[], int off, int len) throws IOException;
  public long skip(long n) throws IOException;
}

You can create an input stream, read bytes from it, skip a specified number of bytes in the stream, see how many bytes are available to read, and close an input stream using the methods in this class.

Hierarchy

InputStream
  |
  +--ActiveXInputStream

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