Example usage for Java org.springframework.util FileCopyUtils fields, constructors, methods, implement or subclass
The text is from its open source code.
int | copy(File in, File out) Copy the contents of the given input File to the given output File. |
void | copy(byte[] in, File out) Copy the contents of the given byte array to the given output File. |
int | copy(InputStream in, OutputStream out) Copy the contents of the given InputStream to the given OutputStream. |
void | copy(byte[] in, OutputStream out) Copy the contents of the given byte array to the given OutputStream. |
int | copy(Reader in, Writer out) Copy the contents of the given Reader to the given Writer. |
void | copy(String in, Writer out) Copy the contents of the given String to the given output Writer. |
byte[] | copyToByteArray(File in) Copy the contents of the given input File into a new byte array. |
byte[] | copyToByteArray(@Nullable InputStream in) Copy the contents of the given InputStream into a new byte array. |
String | copyToString(@Nullable Reader in) Copy the contents of the given Reader into a String. |