Class ResponseStream.TdsInputStream

java.lang.Object
java.io.InputStream
net.sourceforge.jtds.jdbc.ResponseStream.TdsInputStream
All Implemented Interfaces:
Closeable, AutoCloseable
Enclosing class:
ResponseStream

private static class ResponseStream.TdsInputStream extends InputStream
Simple inner class implementing an InputStream over the server response.
  • Field Details

    • tds

      The underlying ResponseStream.
    • maxLen

      int maxLen
      The maximum amount of data to make available.
  • Constructor Details

    • TdsInputStream

      public TdsInputStream(ResponseStream tds, int maxLen)
      Creates a TdsInputStream instance.
      Parameters:
      tds - the underlying ResponseStream
      maxLen - the maximum amount of data that will be available
  • Method Details