org.xfp.filters.ftp
Class FTPAbstractFilter
java.lang.Object
org.xfp.AttributeContainer
org.xfp.Filter
org.xfp.filters.ftp.FTPAbstractFilter
- Direct Known Subclasses:
- FTPChangeDirectory, FTPChangeToParentDirectory, FTPDelete, FTPGet, FTPListing, FTPMove
- public abstract class FTPAbstractFilter
- extends Filter
Base class for filters performing FTP operations.
- Version:
- $Id: FTPAbstractFilter.java,v 1.1 2004/03/19 15:56:42 flaviotordini Exp $
- Author:
- Flavio Tordini
Field Summary |
protected org.apache.commons.net.ftp.FTPClient |
ftp
ftp client |
Method Summary |
void |
reset()
Resets filter status after execution. |
void |
setClient(org.apache.commons.net.ftp.FTPClient ftp)
Sets name of the FTPClient attribute. |
protected abstract void |
subreset()
Subclasses must reset their status within this method. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
ftp
protected org.apache.commons.net.ftp.FTPClient ftp
- ftp client
FTPAbstractFilter
public FTPAbstractFilter()
setClient
public final void setClient(org.apache.commons.net.ftp.FTPClient ftp)
throws java.lang.Exception
- Sets name of the FTPClient attribute.
- Throws:
java.lang.Exception
reset
public final void reset()
- Description copied from class:
Filter
- Resets filter status after execution. This method is called after
execute(), even in case of exceptions. Since a Filter instance may be
reused (and actually is), you must use this method to reset all your
class members to their default value.
- Specified by:
reset
in class Filter
- See Also:
Filter.reset()
subreset
protected abstract void subreset()
- Subclasses must reset their status within this method.
Copyright © 2003-2004 XFP Team. All Rights Reserved.