public class Streams extends Object
| Modifier and Type | Method and Description |
|---|---|
static void |
copy(InputStream source,
OutputStream destination) |
static byte[] |
toByteArray(InputStream stream) |
static String |
toString(InputStream stream) |
public static void copy(InputStream source, OutputStream destination) throws IOException
IOExceptionpublic static byte[] toByteArray(InputStream stream) throws IOException
IOExceptionpublic static String toString(InputStream stream)
Copyright © 2018. All rights reserved.