| |
|
| com.coldcore.coloradoftp.filesystem.ListingFile
All known Subclasses: com.coldcore.coloradoftp.filesystem.impl.ListingFileBean,
ListingFile | public interface ListingFile (Code) | | Listing file.
This class is used by a file system to produce directory listings
(in response to LIST and NLST commands for example).
ColoradoFTP - The Open Source FTP Server (http://cftp.coldcore.com)
|
getAbsolutePath | public String getAbsolutePath()(Code) | | Get abfolute path of the file
Absolute path name |
getLastModified | public Date getLastModified()(Code) | | Get last modified date
Last modified date |
getMlsxFacts | public String getMlsxFacts()(Code) | | Get facts (MLSx command)
Facts string |
getName | public String getName()(Code) | | Get name of the file
Non-absolute file name |
getOwner | public String getOwner()(Code) | | Get owner name
Name of the file owner |
getPermissions | public String getPermissions()(Code) | | Get 9-letter permissions string
Permissions string |
getSize | public long getSize()(Code) | | Get file size
Size of the file in bytes |
isDirectory | public boolean isDirectory()(Code) | | Test if this file is a directory
TRIE if it is a directory, FALSE otherwise |
setAbsolutePath | public void setAbsolutePath(String path)(Code) | | Set abfolute path of the file
Parameters: path - Absolute path name |
setDirectory | public void setDirectory(boolean b)(Code) | | Set wether this is directory
Parameters: b - TRUE for directories, FALSE for files |
setLastModified | public void setLastModified(Date date)(Code) | | Set last modified date
Parameters: date - Last modified date |
setMlsxFacts | public void setMlsxFacts(String facts)(Code) | | Set facts (MLSx command)
Parameters: facts - Permissions string |
setName | public void setName(String name)(Code) | | Set name of the file
Parameters: name - Non-absolute file name |
setOwner | public void setOwner(String owner)(Code) | | Set owner name
Parameters: owner - Name of the file owner |
setPermissions | public void setPermissions(String permissions)(Code) | | Set 9-letter permissions string
Parameters: permissions - Permissions string |
setSize | public void setSize(long size)(Code) | | Set file size
Parameters: size - Size of the file in bytes |
|
|
|