public class SftpFileInfo extends AbstractFileInfo<com.jcraft.jsch.ChannelSftp.LsEntry>
FileInfo
implementation for SFTP.Constructor and Description |
---|
SftpFileInfo(com.jcraft.jsch.ChannelSftp.LsEntry lsEntry) |
Modifier and Type | Method and Description |
---|---|
com.jcraft.jsch.ChannelSftp.LsEntry |
getFileInfo() |
java.lang.String |
getFilename() |
long |
getModified() |
java.lang.String |
getPermissions() |
long |
getSize() |
boolean |
isDirectory() |
boolean |
isLink() |
compareTo, getRemoteDirectory, setRemoteDirectory, toString
public boolean isDirectory()
SftpATTRS.isDir()
public boolean isLink()
SftpATTRS.isLink()
public long getSize()
SftpATTRS.getSize()
public long getModified()
SftpATTRS.getMTime()
public java.lang.String getFilename()
ChannelSftp.LsEntry.getFilename()
public java.lang.String getPermissions()
public com.jcraft.jsch.ChannelSftp.LsEntry getFileInfo()