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

## org.basex.io
Class CachedInput

    java.lang.Object
      org.basex.io.BufferInput
          org.basex.io.CachedInput

    public final class CachedInput

extends BufferInput

This class allows reading from a cached byte array.

Author:
  Workgroup DBIS, University of Konstanz 2005-07, ISC License, Christian Gruen

Constructor Summary
`CachedInput(byte[] input)` Initializes the file reader.

Method Summary
`byte` | `readByte()` Returns the next byte.

Methods inherited from class org.basex.io.BufferInput
`close, length, read, size`

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

Constructor Detail

### CachedInput

    public CachedInput(byte[] input)

  Initializes the file reader.

  Parameters:
    `input` - input bytes

Method Detail

### readByte

    public byte readByte()

  Returns the next byte.

  Overrides:
    `readByte` in class `BufferInput`
  Returns:
    next byte

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