LOBTest.RealInputStream (jTDS API)
Keywords: net.sourceforge.jtds.test.LOBTest.RealInputStream class

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## net.sourceforge.jtds.test
Class LOBTest.RealInputStream

    java.lang.Object
      java.io.InputStream
          net.sourceforge.jtds.test.LOBTest.RealInputStream

Enclosing class:
  LOBTest

static class LOBTest.RealInputStream
extends java.io.InputStream

Implements an `InputStream` that only returns a limited number of bytes on read (less than the requested number of bytes).

Used for testing `Blob` insert behavior.

Field Summary
`(package private) static int` | `LENGTH` Length of the stream.
`private int` | `pos` Current position in the stream.

Fields inherited from class java.io.InputStream
``

Constructor Summary
`(package private)` | `LOBTest.RealInputStream()`

Method Summary
`int` | `read()`
`int` | `read(byte[] b)`
`int` | `read(byte[] b, int off, int len)`

Methods inherited from class java.io.InputStream
`available, close, mark, markSupported, reset, skip`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Field Detail

### LENGTH

    static final int LENGTH

  Length of the stream.

  See Also:
    Constant Field Values

### pos

    private int pos

  Current position in the stream.

Constructor Detail

### LOBTest.RealInputStream

    LOBTest.RealInputStream()

Method Detail

### read

    public int read()

### read

    public int read(byte[] b)

### read

    public int read(byte[] b,
                    int off,
                    int len)

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Generated on December 30 2009