Example usage for Java org.springframework.util StreamUtils fields, constructors, methods, implement or subclass
The text is from its open source code.
int | BUFFER_SIZE The default buffer size used why copying bytes. |
void | copy(byte[] in, OutputStream out) Copy the contents of the given byte array to the given OutputStream. |
int | copy(InputStream in, OutputStream out) Copy the contents of the given InputStream to the given OutputStream. |
void | copy(String in, Charset charset, OutputStream out) Copy the contents of the given String to the given output OutputStream. |
byte[] | copyToByteArray(@Nullable InputStream in) Copy the contents of the given InputStream into a new byte array. |
String | copyToString(@Nullable InputStream in, Charset charset) Copy the contents of the given InputStream into a String. |
InputStream | emptyInput() Return an efficient empty InputStream . |