Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV NEXT | FRAMES NO FRAMES

## Uses of Interface
org.apache.commons.net.io.CopyStreamListener

Packages that use CopyStreamListener
org.apache.commons.net.io |

Uses of CopyStreamListener in org.apache.commons.net.io

Classes in org.apache.commons.net.io that implement CopyStreamListener
`class` | `CopyStreamAdapter` The CopyStreamAdapter will relay CopyStreamEvents to a list of listeners when either of its bytesTransferred() methods are called.

Methods in org.apache.commons.net.io with parameters of type CopyStreamListener
`void` | `CopyStreamAdapter.addCopyStreamListener(CopyStreamListener listener)` Registers a CopyStreamListener to receive CopyStreamEvents.
`void` | `CopyStreamAdapter.removeCopyStreamListener(CopyStreamListener listener)` Unregisters a CopyStreamListener.
`static long` | `Util.copyStream(InputStream source, OutputStream dest, int bufferSize, long streamSize, CopyStreamListener listener, boolean flush)` 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` | `Util.copyStream(InputStream source, OutputStream dest, int bufferSize, long streamSize, CopyStreamListener listener)` 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` | `Util.copyReader(Reader source, Writer dest, int bufferSize, long streamSize, CopyStreamListener listener)` 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.

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV NEXT | FRAMES NO FRAMES

Copyright © 1997-2005 The Apache Software Foundation. All Rights Reserved.