com.japisoft.ftpbrowser
Class FTPResourceItem
java.lang.Object
|
+--com.japisoft.ftpbrowser.FTPResourceItem
- All Implemented Interfaces:
- ResourceItem
- public class FTPResourceItem
- extends java.lang.Object
- implements ResourceItem
- Version:
- 1.0
- Author:
- (c) 2004 JAPISoft / http://www.japisoft.com
Constructor Summary |
FTPResourceItem(java.lang.String currentDir,
com.enterprisedt.net.ftp.FTPFile file)
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FTPResourceItem
public FTPResourceItem(java.lang.String currentDir,
com.enterprisedt.net.ftp.FTPFile file)
getPath
public java.lang.String getPath()
- Specified by:
getPath
in interface ResourceItem
getName
public java.lang.String getName()
- Specified by:
getName
in interface ResourceItem
isFile
public boolean isFile()
- Specified by:
isFile
in interface ResourceItem
isLocked
public boolean isLocked()
- Specified by:
isLocked
in interface ResourceItem
getSize
public long getSize()
- Specified by:
getSize
in interface ResourceItem
getLastModified
public java.util.Date getLastModified()
- Specified by:
getLastModified
in interface ResourceItem
getSource
public java.lang.Object getSource()
- Specified by:
getSource
in interface ResourceItem