Packages
 In this topic

*Constructors

*Methods

 

Packages   PreviousThis PackageNext
Package com.ms.io   Previous This
Package
Next

 


Class SystemInputStream

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

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

This class 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.

FilterInputStream
  |
  +--SystemInputStream

Constructors

SystemInputStream

public SystemInputStream (InputStream out, int id);

Creates a SystemInputStream object by using the specified input stream and an identifier. The identifier will be used for security checks.

ParameterDescription
out The input stream.
id The identifier for the new SystemInputStream object.

Methods

close

public void close () throws IOException;

Closes the system input stream.

Return Value:

No return value.

Exceptions:

IOException if an I/O error occurs while attempting to close the output stream.

upnrm.gif © 1998 Microsoft Corporation. All rights reserved. Terms of use.