Top Description Methods
org.hsqldb.lib

public Interface InputStreamInterface

Known Direct Implementers
org.hsqldb.lib.InputStreamWrapper, org.hsqldb.persist.RAShadowFile.InputStreamShadow
Imports
java.io.IOException

An interface with methods similar to java.io.InputStream.
Author
Fred Toussi (fredt@users dot sourceforge.net)
Since
2.3.0
Version
2.3.0

Method Summary

Modifier and TypeMethod and Description
public int
public void
public long

Returns:

-1 if no explicit limit otherwise the limit
getSizeLimit
()

Invariant.

public int
read()

public int
read(byte[] bytes)

public int
read(byte[] bytes, int offset, int length)

public void
setSizeLimit(long count)

public long
skip(long count)

Method Detail

availableback to summary
public int available() throws IOException
closeback to summary
public void close() throws IOException
getSizeLimitback to summary
public long getSizeLimit()

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

Returns:long

-1 if no explicit limit otherwise the limit

readback to summary
public int read() throws IOException
readback to summary
public int read(byte[] bytes) throws IOException
readback to summary
public int read(byte[] bytes, int offset, int length) throws IOException
setSizeLimitback to summary
public void setSizeLimit(long count)
skipback to summary
public long skip(long count) throws IOException