org.codehaus.plexus.archiver

Interface ArchiveFile

public interface ArchiveFile

Interface of a zip, or tar file.
Nested Class Summary
static interfaceArchiveFile.Entry
Interfave of a archive file entry.
Method Summary
EnumerationgetEntries()
Returns an enumeration with the archive files entries.
InputStreamgetInputStream(ArchiveFile.Entry entry)
Returns an InputStream with the given entries contents.

Method Detail

getEntries

public Enumeration getEntries()
Returns an enumeration with the archive files entries. Any element returned by the enumeration is an instance of Entry.

getInputStream

public InputStream getInputStream(ArchiveFile.Entry entry)
Returns an InputStream with the given entries contents.
Copyright © 2001-2009 Codehaus. All Rights Reserved.