Microsoft SDK for Java

SystemInputStream Class

The SystemInputStream Class of the com.ms.io package provides methods that allow an application to hand an input stream to untrusted code and prevent the untrusted code from closing it. System.in objects are wrapped with this class, which extends the FilterInputStream class.

public class SystemInputStream extends FilterInputStream
{
  // Constructors
  public SystemInputStream(InputStream out, int id);

  // Methods
  public void close() throws IOException;
}

Hierarchy

FilterInputStream
  |
  +--SystemInputStream

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