Ja.NET Standard Edition 5.0

Documentation API Specification

Contents

PluginUtils.IisWrapper Class Reference

Inherits java::io::InputStream.

List of all members.


Public Member Functions

int read () throws IOException
 Reads a single byte from this InputStream and returns the result as an int.
int read (final byte[] b) throws IOException
int read (final byte[] b, final int off, final int len) throws IOException
long skip (final long n) throws IOException
boolean markSupported ()
 Answers a boolean indicating whether or not this InputStream supports mark() and reset().
void mark (final int readlimit)
void reset () throws IOException
 Reset this InputStream to the last marked location.
void close () throws IOException
 Close the InputStream.

Package Functions

 IisWrapper (final ImageInputStream input)

Private Attributes

final ImageInputStream input

Constructor & Destructor Documentation

IisWrapper ( final ImageInputStream  input  )  [package]


Member Function Documentation

int read (  )  throws IOException [virtual]

Reads a single byte from this InputStream and returns the result as an int.

The low-order byte is returned or -1 of the end of stream was encountered. This abstract implementation must be provided by concrete subclasses.

Returns:
the byte read or -1 if end of stream.
Exceptions:
IOException If the stream is already closed or another IOException occurs.

Implements InputStream.

int read ( final byte[]  b  )  throws IOException

int read ( final byte[]  b,
final int  off,
final int  len 
) throws IOException

long skip ( final long  n  )  throws IOException

boolean markSupported (  ) 

Answers a boolean indicating whether or not this InputStream supports mark() and reset().

This class provides a default implementation which answers false.

Returns:
true if mark() and reset() are supported, false otherwise.

Reimplemented from InputStream.

void mark ( final int  readlimit  ) 

void reset (  )  throws IOException

Reset this InputStream to the last marked location.

If the readlimit has been passed or no mark has been set, throw IOException. This implementation throws IOException and concrete subclasses should provide proper implementations.

Exceptions:
IOException If the stream is already closed or another IOException occurs.

Reimplemented from InputStream.

void close (  )  throws IOException

Close the InputStream.

Concrete implementations of this class should free any resources during close. This implementation does nothing.

Exceptions:
IOException If an error occurs attempting to close this InputStream.

Reimplemented from InputStream.


Member Data Documentation

final ImageInputStream input [private]