public final class ByteStreams extends Object
Modifier and Type | Method and Description |
---|---|
static void |
copy(InputStream in,
OutputStream to)
Deprecated.
this is an internal method to dropwizard-util. Consider apache-commons instead.
|
static byte[] |
toByteArray(InputStream in) |
public static byte[] toByteArray(InputStream in) throws IOException
IOException
@Deprecated public static void copy(InputStream in, OutputStream to) throws IOException
IOException
Copyright © 2011. All rights reserved.