Class StreamUtil
- java.lang.Object
- 
- org.eclipse.ecf.remoteservice.util.StreamUtil
 
- 
 public class StreamUtil extends Object - Since:
- 8.1
 
- 
- 
Constructor SummaryConstructors Constructor Description StreamUtil()StreamUtil(int bufferSize)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description longcopy(InputStream input, OutputStream output)byte[]toByteArray(InputStream input)voidwriteByteArray(OutputStream outs, byte[] bytes)
 
- 
- 
- 
Method Detail- 
copypublic long copy(InputStream input, OutputStream output) throws IOException - Throws:
- IOException
 
 - 
toByteArraypublic byte[] toByteArray(InputStream input) throws IOException - Throws:
- IOException
 
 - 
writeByteArraypublic void writeByteArray(OutputStream outs, byte[] bytes) throws IOException - Throws:
- IOException
 
 
- 
 
-