public class DataEntryCopier extends Object implements DataEntryReader
| Constructor and Description |
|---|
DataEntryCopier(DataEntryWriter dataEntryWriter) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
copyData(InputStream inputStream,
OutputStream outputStream)
Copies all data that it can read from the given input stream to the
given output stream.
|
static void |
main(String[] args)
A main method for testing file/jar/war/directory copying.
|
void |
read(DataEntry dataEntry)
Reads the given data entry.
|
public DataEntryCopier(DataEntryWriter dataEntryWriter)
public void read(DataEntry dataEntry) throws IOException
DataEntryReaderread in interface DataEntryReaderIOExceptionprotected void copyData(InputStream inputStream, OutputStream outputStream) throws IOException
IOExceptionpublic static void main(String[] args)
Copyright © 2015. All Rights Reserved.