public class StreamUtil extends Object
Constructor and Description |
---|
StreamUtil() |
StreamUtil(int bufferSize) |
Modifier and Type | Method and Description |
---|---|
long |
copy(InputStream input,
OutputStream output) |
byte[] |
toByteArray(InputStream input) |
void |
writeByteArray(OutputStream outs,
byte[] bytes) |
public long copy(InputStream input, OutputStream output) throws IOException
IOException
public byte[] toByteArray(InputStream input) throws IOException
IOException
public void writeByteArray(OutputStream outs, byte[] bytes) throws IOException
IOException
Copyright © 2004–2020 Eclipse Foundation. All rights reserved.