net.sourceforge.jtds.jdbc
Class ResponseStream.TdsInputStream
InputStreamnet.sourceforge.jtds.jdbc.ResponseStream.TdsInputStream
- ResponseStream
private static class ResponseStream.TdsInputStream
extends InputStream
Simple inner class implementing an InputStream over the
server response.
(package private) int | maxLen- The maximum amount of data to make available.
|
(package private) ResponseStream | tds- The underlying
ResponseStream.
|
int | read()
|
int | read(byte[] bytes, int offset, int len)
|
maxLen
(package private) int maxLen
The maximum amount of data to make available.
TdsInputStream
public TdsInputStream(ResponseStream tds,
int maxLen) Creates a TdsInputStream instance.
tds - the underlying ResponseStreammaxLen - the maximum amount of data that will be available
read
public int read()
throws IOException
read
public int read(byte[] bytes,
int offset,
int len)
throws IOException
Generated on June 12 2008