Coverage Report - org.codehaus.plexus.archiver.ArchiveFile
 
Classes in this File Line Coverage Branch Coverage Complexity
ArchiveFile
N/A
N/A
1
 
 1  
 package org.codehaus.plexus.archiver;
 2  
 
 3  
 import java.io.IOException;
 4  
 import java.io.InputStream;
 5  
 import java.util.Enumeration;
 6  
 
 7  
 /**
 8  
  * Interface of a zip, or tar file.
 9  
  */
 10  
 public interface ArchiveFile
 11  
 {
 12  
 
 13  
     /**
 14  
      * Returns an enumeration with the archive files entries.
 15  
      * Any element returned by the enumeration is an instance
 16  
      * of {@link org.apache.commons.compress.archivers.ArchiveEntry}.
 17  
      */
 18  
     public Enumeration<? extends org.apache.commons.compress.archivers.ArchiveEntry> getEntries()
 19  
         throws IOException;
 20  
 
 21  
     /**
 22  
      * Returns an {@link InputStream} with the given entries contents.
 23  
      * org.apache.commons.compress.archivers.ArchiveEntry
 24  
      */
 25  
     InputStream getInputStream( org.apache.commons.compress.archivers.ArchiveEntry entry )
 26  
         throws IOException;
 27  
 
 28  
 }