public final class IoUtils extends Object
Constructor and Description |
---|
IoUtils() |
Modifier and Type | Method and Description |
---|---|
static long |
copy(InputStream from,
OutputStream to)
Copies the data from input stream to output stream.
|
static byte[] |
toByteArray(InputStream in)
Returns the byte array.
|
public static byte[] toByteArray(InputStream in) throws IOException
IOException
public static long copy(InputStream from, OutputStream to) throws IOException
IOException
Copyright © 2018. All rights reserved.