uk.ac.kcl.cch.jb.pliny.dnd
Interface IGetsArchiveEntries

All Known Implementing Classes:
PlinyArchiveImporter

public interface IGetsArchiveEntries

This interface, implemented by Pliny archive readers, provides an InputStream from the archive for independant plugins handling the cacheing of data from an archive.

Author:
John Bradley
See Also:
IResourceExtensionProcessor

Method Summary
 InputStream getArchiveEntry(String name)
          asks the archive reader to deliver an InputStream from the archive for the given component name.
 

Method Detail

getArchiveEntry

public InputStream getArchiveEntry(String name)
asks the archive reader to deliver an InputStream from the archive for the given component name. If null is returned, the archive had no data component of the given name.

Parameters:
name - String requested archive data component.
Returns:
InputStream for the requested component, or null if there was none.