ProGuard

proguard.io
Interface DataEntry

All Known Implementing Classes:
FileDataEntry, RenamedDataEntry, ZipDataEntry

public interface DataEntry

This interface describes a data entry, e.g. a ZIP entry or a file.


Method Summary
 void closeInputStream()
          Closes the previously retrieved InputStream.
 InputStream getInputStream()
          Returns an input stream for reading the content of this data entry.
 String getName()
          Returns the name of this data entry.
 DataEntry getParent()
          Returns the parent of this data entry, or null if it doesn't have one.
 

Method Detail

getName

public String getName()
Returns the name of this data entry.


getInputStream

public InputStream getInputStream()
                           throws IOException
Returns an input stream for reading the content of this data entry.

Throws:
IOException

closeInputStream

public void closeInputStream()
                      throws IOException
Closes the previously retrieved InputStream.

Throws:
IOException

getParent

public DataEntry getParent()
Returns the parent of this data entry, or null if it doesn't have one.


ProGuard