## Uses of Class
org.apache.xmlgraphics.image.codec.util.SeekableStream

- Packages that use SeekableStream
  Package | Description
  --- | ---
  org.apache.xmlgraphics.image.codec.tiff | Contains a TIFF image codec.
  org.apache.xmlgraphics.image.codec.util | Contains utility classes for image codecs.
  org.apache.xmlgraphics.image.loader.util | Contains utilities and helper classes useful in conjunction with the image package.

- - ### Uses of SeekableStream in org.apache.xmlgraphics.image.codec.tiff

    Methods in org.apache.xmlgraphics.image.codec.tiff with parameters of type SeekableStream
    Modifier and Type | Method and Description
    --- | ---
    `static int` | TIFFDirectory.`getNumDirectories(SeekableStream stream)` Returns the number of image directories (subimages) stored in a given TIFF file, represented by a `SeekableStream`.

    Constructors in org.apache.xmlgraphics.image.codec.tiff with parameters of type SeekableStream
    Constructor and Description
    `TIFFDirectory(SeekableStream stream, int directory)` Constructs a TIFFDirectory from a SeekableStream.
    `TIFFDirectory(SeekableStream stream, long ifdOffset, int directory)` Constructs a TIFFDirectory by reading a SeekableStream.
    `TIFFImage(SeekableStream stream, TIFFDecodeParam param, int directory)` Constructs a TIFFImage that acquires its data from a given SeekableStream and reads from a particular IFD of the stream.
    `TIFFImageDecoder(SeekableStream input, TIFFDecodeParam param)`

  - ### Uses of SeekableStream in org.apache.xmlgraphics.image.codec.util

    Subclasses of SeekableStream in org.apache.xmlgraphics.image.codec.util
    Modifier and Type | Class and Description
    --- | ---
    `class` | `FileCacheSeekableStream` A subclass of `SeekableStream` that may be used to wrap a regular `InputStream`.
    `class` | `ForwardSeekableStream` A subclass of `SeekableStream` that may be used to wrap a regular `InputStream` efficiently.
    `class` | `ImageInputStreamSeekableStreamAdapter` A subclass of `SeekableStream` that may be used to wrap a regular `ImageInputStream`.
    `class` | `MemoryCacheSeekableStream` A subclass of `SeekableStream` that may be used to wrap a regular `InputStream`.

    Fields in org.apache.xmlgraphics.image.codec.util declared as SeekableStream
    Modifier and Type | Field and Description
    --- | ---
    `protected SeekableStream` | ImageDecoderImpl.`input` The `SeekableStream` associcted with this `ImageEncoder`.

    Methods in org.apache.xmlgraphics.image.codec.util that return SeekableStream
    Modifier and Type | Method and Description
    --- | ---
    `SeekableStream` | ImageDecoderImpl.`getInputStream()` Returns the `SeekableStream` associated with this `ImageDecoder`.
    `SeekableStream` | ImageDecoder.`getInputStream()` Returns the SeekableStream associated with this ImageDecoder.
    `static SeekableStream` | SeekableStream.`wrapInputStream(java.io.InputStream is, boolean canSeekBackwards)` Returns a `SeekableStream` that will read from a given `InputStream`, optionally including support for seeking backwards.

    Constructors in org.apache.xmlgraphics.image.codec.util with parameters of type SeekableStream
    Constructor and Description
    `ImageDecoderImpl(SeekableStream input, ImageDecodeParam param)` Constructs an `ImageDecoderImpl` with a given `SeekableStream` and `ImageDecodeParam` instance.

  - ### Uses of SeekableStream in org.apache.xmlgraphics.image.loader.util

    Subclasses of SeekableStream in org.apache.xmlgraphics.image.loader.util
    Modifier and Type | Class and Description
    --- | ---
    `class` | `SeekableStreamAdapter` Adapter which provides a SeekableStream interface over an ImageInputStream.

Copyright 1999-2025 The Apache Software Foundation. All Rights Reserved.