|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectproguard.io.DataEntryCopier
public class DataEntryCopier
This DataEntryReader writes the ZIP entries and files that it reads to a given DataEntryWriter.
| Constructor Summary | |
|---|---|
DataEntryCopier(DataEntryWriter dataEntryWriter)
|
|
| Method Summary | |
|---|---|
protected void |
copyData(java.io.InputStream inputStream,
java.io.OutputStream outputStream)
Copies all data that it can read from the given input stream to the given output stream. |
static void |
main(java.lang.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 |
| Constructor Detail |
|---|
public DataEntryCopier(DataEntryWriter dataEntryWriter)
| Method Detail |
|---|
public void read(DataEntry dataEntry)
throws java.io.IOException
DataEntryReader
read in interface DataEntryReaderjava.io.IOException
protected void copyData(java.io.InputStream inputStream,
java.io.OutputStream outputStream)
throws java.io.IOException
java.io.IOExceptionpublic static void main(java.lang.String[] args)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||