org.xfp.filters.ftp
Class FTPChangeToParentDirectory

java.lang.Object
  extended byorg.xfp.AttributeContainer
      extended byorg.xfp.Filter
          extended byorg.xfp.filters.ftp.FTPAbstractFilter
              extended byorg.xfp.filters.ftp.FTPChangeToParentDirectory

public class FTPChangeToParentDirectory
extends FTPAbstractFilter

Changes the current working directory on the remote server to the parent directory. Uses an open FTP session from an attribute. Input is the filename to rename. Filename can be overridden using the filename parameter. input: String, output: String

Version:
$Id: FTPChangeToParentDirectory.java,v 1.1 2004/03/19 15:56:42 flaviotordini Exp $
Author:
Flavio Tordini

Nested Class Summary
 
Nested classes inherited from class org.xfp.Filter
Filter.OnErrorEnum, Filter.OnLoopErrorEnum
 
Field Summary
 
Fields inherited from class org.xfp.filters.ftp.FTPAbstractFilter
ftp
 
Fields inherited from class org.xfp.AttributeContainer
name, parentContainer
 
Constructor Summary
FTPChangeToParentDirectory()
           
 
Method Summary
 void execute()
          Executes this filter.
 void subreset()
          Subclasses must reset their status within this method.
 
Methods inherited from class org.xfp.filters.ftp.FTPAbstractFilter
reset, setClient
 
Methods inherited from class org.xfp.Filter
getOnError, initialize, log, newInstance, perform, toString
 
Methods inherited from class org.xfp.AttributeContainer
configureAttributes, disposeAttributes, getAttributes, getFullName, getName, initializeAttributes
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

FTPChangeToParentDirectory

public FTPChangeToParentDirectory()
Method Detail

execute

public void execute()
             throws java.lang.Exception
Executes this filter.

Returns:
outputs filtered input data
Throws:
java.lang.Exception - any exception

subreset

public void subreset()
Description copied from class: FTPAbstractFilter
Subclasses must reset their status within this method.

Specified by:
subreset in class FTPAbstractFilter
See Also:
FTPAbstractFilter.subreset()


Copyright © 2003-2004 XFP Team. All Rights Reserved.