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

## multivalent.std.adaptor.pdf
Class DecodePredictor

    java.lang.Object
      java.io.InputStream
          java.io.FilterInputStream
              multivalent.std.adaptor.pdf.DecodePredictor

public class DecodePredictor
extends java.io.FilterInputStream

Predictor filter, for LZW or Flate.

Version:
  $Revision: 1.9 $ $Date: 2004/08/25 01:55:43 $
See Also:
  W3C PNG Filters

Field Summary

Fields inherited from class java.io.FilterInputStream
`in`

Constructor Summary
`DecodePredictor(java.io.InputStream in, int pred, Dict parms, PDFReader pdfr)` If prediction is 1 (TIFF no prediction) or 10 (PNG no prediction), there is no use in applying a DecodePredictor filter.

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

Methods inherited from class java.io.FilterInputStream
`available, close, mark, read, reset, skip`

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

Constructor Detail

### DecodePredictor

    public DecodePredictor(java.io.InputStream in,
                           int pred,
                           Dict parms,
                           PDFReader pdfr)
                    throws java.io.IOException

  If prediction is 1 (TIFF no prediction) or 10 (PNG no prediction), there is no use in applying a DecodePredictor filter.

  Throws:
    `java.io.IOException`

Method Detail

### read

    public int read(byte[] b,
                    int off,
                    int len)
             throws java.io.IOException

  Overrides:
    `read` in class `java.io.FilterInputStream`
  Throws:
    `java.io.IOException`

### read

    public int read()
             throws java.io.IOException

  Overrides:
    `read` in class `java.io.FilterInputStream`
  Throws:
    `java.io.IOException`

### markSupported

    public boolean markSupported()

  Overrides:
    `markSupported` in class `java.io.FilterInputStream`

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