Uses of Interface
org.apache.commons.net.io.CopyStreamListener
-
Packages that use CopyStreamListener Package Description org.apache.commons.net.examples.ftp org.apache.commons.net.ftp FTP and FTPS support classesorg.apache.commons.net.io Utility classes for IO support. -
-
Uses of CopyStreamListener in org.apache.commons.net.examples.ftp
Methods in org.apache.commons.net.examples.ftp that return CopyStreamListener Modifier and Type Method Description private static CopyStreamListener
FTPClientExample. createListener()
-
Uses of CopyStreamListener in org.apache.commons.net.ftp
Classes in org.apache.commons.net.ftp that implement CopyStreamListener Modifier and Type Class Description private static class
FTPClient.CSL
Fields in org.apache.commons.net.ftp declared as CopyStreamListener Modifier and Type Field Description private CopyStreamListener
FTPClient. copyStreamListener
Methods in org.apache.commons.net.ftp that return CopyStreamListener Modifier and Type Method Description CopyStreamListener
FTPClient. getCopyStreamListener()
Obtain the currently active listener.private CopyStreamListener
FTPClient. mergeListeners(CopyStreamListener local)
Merge two copystream listeners, either or both of which may be null.Methods in org.apache.commons.net.ftp with parameters of type CopyStreamListener Modifier and Type Method Description private CopyStreamListener
FTPClient. mergeListeners(CopyStreamListener local)
Merge two copystream listeners, either or both of which may be null.void
FTPClient. setCopyStreamListener(CopyStreamListener listener)
Set the listener to be used when performing store/retrieve operations. -
Uses of CopyStreamListener in org.apache.commons.net.io
Classes in org.apache.commons.net.io that implement CopyStreamListener Modifier and Type Class Description 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 Modifier and Type Method Description void
CopyStreamAdapter. addCopyStreamListener(CopyStreamListener listener)
Registers a CopyStreamListener to receive CopyStreamEvents.static long
Util. copyReader(java.io.Reader source, java.io.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.static long
Util. copyStream(java.io.InputStream source, java.io.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. copyStream(java.io.InputStream source, java.io.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.void
CopyStreamAdapter. removeCopyStreamListener(CopyStreamListener listener)
Unregisters a CopyStreamListener.
-