Class StartOffsetExtractorOutput

  • All Implemented Interfaces:
    ExtractorOutput

    public final class StartOffsetExtractorOutput
    extends Object
    implements ExtractorOutput
    An extractor output that wraps another extractor output and applies a give start byte offset to seek positions.

    This is useful for extracting from a container that's concatenated after some prefix data but where the container's extractor doesn't handle a non-zero start offset (for example, because it seeks to absolute positions read from the container data).

    • Constructor Detail

      • StartOffsetExtractorOutput

        public StartOffsetExtractorOutput​(long startOffset,
                                          ExtractorOutput extractorOutput)
        Creates a new wrapper reading from the given start byte offset.