Copies the input stream to the output stream.
Copies the input stream to the output stream.
the input stream to read. The InputStream will be closed, unlike commons-io's version.
the output stream to write
the size of buffer to use for each read
Executes a block with a closeable resource, and closes it after the block runs
Executes a block with a closeable resource, and closes it after the block runs
the return type of the block
the closeable resource type
the closeable resource
the block
Creates a temp file, passes it to a block, and removes the temp file on the block's completion.
Creates a temp file, passes it to a block, and removes the temp file on the block's completion.
the return type of the block
The content of the file
The prefix of the temp file; must be at least three characters long
The suffix of the temp file
The directory of the temp file; a system dependent temp directory if None
the block
the result of f
A collection of I/O utility methods.