public void closeEntry() throws IOException {
        checkNotClosed();
        if (currentEntryClosed) {
            throw new IOException("Current nested stream is not open");
        }
        currentEntryClosed = true;
        segmentInputStream = null;
    }
Wrapper for a nested input stream.
<p>
You must call getNextEntry and closeEntry like the ZIP API.
stroom-data/stroom-data-store-impl-fs/src/main/java/stroom/data/store/impl/fs/RANestedInputStream.java