IP*Works! V9

ipworks
Class FtpDirListEvent

java.lang.Object
  extended by java.util.EventObject
      extended by ipworks.FtpDirListEvent
All Implemented Interfaces:
java.io.Serializable

public class FtpDirListEvent
extends java.util.EventObject

Fired when a directory entry is received.

The DirList events are fired when a directory listing is received as a response to a ListDirectory or ListDirectoryLong call.

The StartTransfer and EndTransfer events mark the beginning and end of the event stream.

The DirEntry parameter contains the filename when ListDirectory is called, and extended file information when ListDirectoryLong is called.

The bean tries to fill out the FileName , IsDir , FileSize , and FileTime parameters when calling the ListDirectoryLong method. Except for FileName , these parameters are empty when a short 'List Directory' is performed.

In Unix systems the date is given in two types of formats: If the date is in the last 12 months the exact time is specified and the year is omitted. Otherwise only the date and the year but not hours or minutes are given.

See Also:
Ftp, Ftp.DirListEvent, Serialized Form

Field Summary
 java.lang.String dirEntry
           
 java.lang.String fileName
           
 long fileSize
           
 java.lang.String fileTime
           
 boolean isDir
           
 
Fields inherited from class java.util.EventObject
source
 
Method Summary
 
Methods inherited from class java.util.EventObject
getSource, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

dirEntry

public java.lang.String dirEntry

fileName

public java.lang.String fileName

isDir

public boolean isDir

fileSize

public long fileSize

fileTime

public java.lang.String fileTime

IP*Works! V9

Copyright (c) 2013 /n software inc. - All rights reserved.