public LogicalOggStream reloadLogicalOggStream() {
        logicalStreams.clear();
        LogicalOggStreamImpl los = new LogicalOggStreamImpl(this, serialNumber);
        logicalStreams.put(serialNumber, los);

        for (IntMap.Entry<OggPage> entry : oggPages) {
            los.addPageNumberMapping(entry.getKey());
            los.addGranulePosition(entry.getValue().getAbsoluteGranulePosition());
        }

        return los;
    }
Implementation of the <code>PhysicalOggStream</code> interface for reading
 and caching an Ogg stream from a URL. This class reads the data as fast as
 possible from the URL, caches it locally either in memory or on disk, and
 supports seeking within the available data.
jme3-jogg/src/main/java/com/jme3/audio/plugins/CachedOggStream.java