Secure iNet Factory

com.jscape.filetransfer
Class FileTransferCreateDirEvent

java.lang.Object
  extended by java.util.EventObject
      extended by com.jscape.filetransfer.FileTransferEvent
          extended by com.jscape.filetransfer.FileTransferCreateDirEvent
All Implemented Interfaces:
java.io.Serializable

public class FileTransferCreateDirEvent
extends FileTransferEvent

Fired when directory is created on server.

See Also:
Serialized Form

Constructor Summary
FileTransferCreateDirEvent(java.lang.Object source, java.lang.String dir, java.lang.String path)
          Creates FileTransferCreateDirEvent.
 
Method Summary
 void accept(FileTransferListener listener)
          Accepts event via FileTransferListener.
 java.lang.String getDirectory()
          Gets the directory that was created.
 java.lang.String getPath()
          Gets the path the new directory was created from.
 
Methods inherited from class java.util.EventObject
getSource, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

FileTransferCreateDirEvent

public FileTransferCreateDirEvent(java.lang.Object source,
                                  java.lang.String dir,
                                  java.lang.String path)
Creates FileTransferCreateDirEvent.

Parameters:
source - the source of the event
dir - the directory created on server
path - the path the new directory was created from
Method Detail

getDirectory

public java.lang.String getDirectory()
Gets the directory that was created.

Returns:
the directory

getPath

public java.lang.String getPath()
Gets the path the new directory was created from.

Returns:
the remote directory path

accept

public void accept(FileTransferListener listener)
Accepts event via FileTransferListener.

Specified by:
accept in class FileTransferEvent
Parameters:
listener - the listener which receives event

Secure iNet Factory

Copyright © JSCAPE LLC. 1999-2011. All Rights Reserved