public class FtpFileInfo extends AbstractFileInfo<org.apache.commons.net.ftp.FTPFile>
FileInfo
implementation for
FTP/FTPS.Constructor and Description |
---|
FtpFileInfo(org.apache.commons.net.ftp.FTPFile ftpFile) |
Modifier and Type | Method and Description |
---|---|
org.apache.commons.net.ftp.FTPFile |
getFileInfo() |
String |
getFilename() |
long |
getModified() |
String |
getPermissions() |
long |
getSize() |
boolean |
isDirectory() |
boolean |
isLink() |
compareTo, getRemoteDirectory, setRemoteDirectory, toJson, toString
public boolean isDirectory()
public boolean isLink()
public long getSize()
public long getModified()
public String getFilename()
public String getPermissions()
public org.apache.commons.net.ftp.FTPFile getFileInfo()