org.backsource.adaptor.ftp
Class NetFTPFile

java.lang.Object
  extended byorg.apache.commons.net.ftp.FTPFile
      extended byorg.backsource.adaptor.ftp.NetFTPFile
All Implemented Interfaces:
FTPFile, java.io.Serializable

public class NetFTPFile
extends org.apache.commons.net.ftp.FTPFile
implements FTPFile

Wrapper for Net FTPFile. FIXME: permissions not working.

Version:
$Revision: 1.1.1.1 $
Author:
Peter Antman
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.apache.commons.net.ftp.FTPFile
DIRECTORY_TYPE, EXECUTE_PERMISSION, FILE_TYPE, GROUP_ACCESS, READ_PERMISSION, SYMBOLIC_LINK_TYPE, UNKNOWN_TYPE, USER_ACCESS, WORLD_ACCESS, WRITE_PERMISSION
 
Constructor Summary
NetFTPFile(org.apache.commons.net.ftp.FTPFile f, java.lang.String url)
           
 
Method Summary
 java.lang.String getName()
           
 java.lang.String getParent()
           
 java.lang.String getPath()
           
 
Methods inherited from class org.apache.commons.net.ftp.FTPFile
getGroup, getHardLinkCount, getLink, getRawListing, getSize, getTimestamp, getType, getUser, hasPermission, isDirectory, isFile, isSymbolicLink, isUnknown, setGroup, setHardLinkCount, setLink, setName, setPermission, setRawListing, setSize, setTimestamp, setType, setUser, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.backsource.adaptor.ftp.FTPFile
getGroup, getSize, getTimestamp, getUser, isDirectory, isFile, isSymbolicLink, isUnknown, toString
 

Constructor Detail

NetFTPFile

public NetFTPFile(org.apache.commons.net.ftp.FTPFile f,
                  java.lang.String url)
Method Detail

getName

public java.lang.String getName()
Specified by:
getName in interface FTPFile

getPath

public java.lang.String getPath()
Specified by:
getPath in interface FTPFile

getParent

public java.lang.String getParent()
Specified by:
getParent in interface FTPFile


Copyright © 2003-2004 Backsource. All Rights Reserved.