Package com.redwood.scheduler.api.tool
Class StreamCopy
- java.lang.Object
-
- com.redwood.scheduler.api.tool.StreamCopy
-
- All Implemented Interfaces:
Serializable
public class StreamCopy extends Object implements Serializable
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static StreamCopy
DEFAULT_COPIER
-
Constructor Summary
Constructors Constructor Description StreamCopy(int initMaxChunkSize)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description long
streamCopy(InputStream is, OutputStream os)
long
streamCopy(InputStream is, OutputStream os, long n)
-
-
-
Field Detail
-
DEFAULT_COPIER
public static final StreamCopy DEFAULT_COPIER
-
-
Method Detail
-
streamCopy
public long streamCopy(InputStream is, OutputStream os) throws IOException
- Throws:
IOException
-
streamCopy
public long streamCopy(InputStream is, OutputStream os, long n) throws IOException
- Throws:
IOException
-
-