public class IoUtils extends Object
Modifier and Type | Field and Description |
---|---|
static int |
EOF |
Constructor and Description |
---|
IoUtils() |
Modifier and Type | Method and Description |
---|---|
static int |
copy(InputStream input,
OutputStream output) |
static long |
copy(InputStream input,
OutputStream output,
int bufferSize) |
static long |
copyLarge(InputStream input,
OutputStream output) |
static long |
copyLarge(InputStream input,
OutputStream output,
byte[] buffer) |
static String |
streamToString(InputStream inputStream) |
static byte[] |
toByteArray(InputStream input) |
public static final int EOF
public static long copyLarge(InputStream input, OutputStream output, byte[] buffer) throws IOException
IOException
public static byte[] toByteArray(InputStream input) throws IOException
IOException
public static long copy(InputStream input, OutputStream output, int bufferSize) throws IOException
IOException
public static long copyLarge(InputStream input, OutputStream output) throws IOException
IOException
public static int copy(InputStream input, OutputStream output) throws IOException
IOException
public static String streamToString(InputStream inputStream)
Copyright © 2021. All rights reserved.