|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectccc.commons.streams.CopyAction
public final class CopyAction
An action to copy from an input stream to an output stream.
Constructor Summary | |
---|---|
CopyAction(java.io.OutputStream dataStream)
Constructor. |
Method Summary | |
---|---|
void |
execute(java.io.InputStream is)
Execute the action. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CopyAction(java.io.OutputStream dataStream)
dataStream
- The output stream to copy to.Method Detail |
---|
public void execute(java.io.InputStream is) throws java.io.IOException
execute
in interface StreamAction
is
- The input stream to operate on.
java.io.IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |