Class StreamUtil
java.lang.Object
org.eclipse.ecf.remoteservice.util.StreamUtil
- Since:
- 8.1
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionlong
copy
(InputStream input, OutputStream output) byte[]
toByteArray
(InputStream input) void
writeByteArray
(OutputStream outs, byte[] bytes)
-
Constructor Details
-
StreamUtil
public StreamUtil(int bufferSize) -
StreamUtil
public StreamUtil()
-
-
Method Details
-
copy
- Throws:
IOException
-
toByteArray
- Throws:
IOException
-
writeByteArray
- Throws:
IOException
-