Top Description Fields Constructors Methods
org.hsqldb.lib

public Class InputStreamWrapper

extends Object
implements InputStreamInterface
Class Inheritance
All Implemented Interfaces
org.hsqldb.lib.InputStreamInterface
Imports
java.io.IOException, .InputStream

A wrapper for a java.io.InputStream object.
Author
Fred Toussi (fredt@users dot sourceforge.net)
Since
2.2.8
Version
2.2.9

Field Summary

Modifier and TypeField and Description
pack-priv long
pack-priv InputStream
pack-priv long

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public int
public void
public long
public int
public int
public int
read(byte[] bytes, int offset, int length)

Implements org.hsqldb.lib.InputStreamInterface.read.

public void
public long
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

fetchedSizeback to summary
pack-priv long fetchedSize
isback to summary
pack-priv InputStream is
limitSizeback to summary
pack-priv long limitSize

Constructor Detail

InputStreamWrapperback to summary
public InputStreamWrapper(InputStream is)

Method Detail

availableback to summary
public int available() throws IOException

Implements org.hsqldb.lib.InputStreamInterface.available.

closeback to summary
public void close() throws IOException

Implements org.hsqldb.lib.InputStreamInterface.close.

getSizeLimitback to summary
public long getSizeLimit()

Implements org.hsqldb.lib.InputStreamInterface.getSizeLimit.

Doc from org.hsqldb.lib.InputStreamInterface.getSizeLimit.

Invariant. Number of characters in stream, including any already read.

readback to summary
public int read() throws IOException

Implements org.hsqldb.lib.InputStreamInterface.read.

readback to summary
public int read(byte[] bytes) throws IOException

Implements org.hsqldb.lib.InputStreamInterface.read.

readback to summary
public int read(byte[] bytes, int offset, int length) throws IOException

Implements org.hsqldb.lib.InputStreamInterface.read.

setSizeLimitback to summary
public void setSizeLimit(long count)

Implements org.hsqldb.lib.InputStreamInterface.setSizeLimit.

skipback to summary
public long skip(long count) throws IOException

Implements org.hsqldb.lib.InputStreamInterface.skip.