default InputStream fetch(String fetchKey, long startOffset, long endOffset, Metadata metadata)
            throws TikaException, IOException {
        return fetch(fetchKey, startOffset, endOffset, metadata, new ParseContext());
    }
This class extracts a range of bytes from a given fetch key.
tika-core/src/main/java/org/apache/tika/pipes/fetcher/RangeFetcher.java