Utility classes for IO support.
-
static long
Same as copyReader(source, dest, DEFAULT_COPY_BUFFER_SIZE);
static long
Copies the contents of a Reader to a Writer using a copy buffer of a given size.
static long
Copies the contents of a Reader to a Writer using a copy buffer of a given size and notifies the provided CopyStreamListener of the progress of the copy
operation by calling its bytesTransferred(long, int) method after each write to the destination.
static long
Same as copyStream(source, dest, DEFAULT_COPY_BUFFER_SIZE);
static long
Copies the contents of an InputStream to an OutputStream using a copy buffer of a given size.
static long
Copies the contents of an InputStream to an OutputStream using a copy buffer of a given size and notifies the provided CopyStreamListener of the progress
of the copy operation by calling its bytesTransferred(long, int) method after each write to the destination.
static long
Copies the contents of an InputStream to an OutputStream using a copy buffer of a given size and notifies the provided CopyStreamListener of the progress
of the copy operation by calling its bytesTransferred(long, int) method after each write to the destination.