proguard.io
Class DataEntryCopier
java.lang.Object
proguard.io.DataEntryCopier
- All Implemented Interfaces:
- DataEntryReader
- public class DataEntryCopier
- extends Object
- implements DataEntryReader
This DataEntryReader writes the ZIP entries and files that it reads to a
given DataEntryWriter.
|
Method Summary |
static void |
main(String[] args)
A main method for testing file/jar/war/directory copying. |
void |
read(DataEntry dataEntry)
Reads the given data entry. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DataEntryCopier
public DataEntryCopier(DataEntryWriter dataEntryWriter)
read
public void read(DataEntry dataEntry)
throws IOException
- Description copied from interface:
DataEntryReader
- Reads the given data entry.
- Specified by:
read in interface DataEntryReader
- Throws:
IOException
main
public static void main(String[] args)
- A main method for testing file/jar/war/directory copying.