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() |
String |
getFilename() |
long |
getModified() |
String |
getPermissions() |
long |
getSize() |
boolean |
isDirectory() |
boolean |
isLink() |
compareTo, getRemoteDirectory, setRemoteDirectory, toJson, toString
public boolean isDirectory()
SftpATTRS.isDir()
public boolean isLink()
SftpATTRS.isLink()
public long getSize()
SftpATTRS.getSize()
public long getModified()
SftpATTRS.getMTime()
public String getFilename()
ChannelSftp.LsEntry.getFilename()
public String getPermissions()
public com.jcraft.jsch.ChannelSftp.LsEntry getFileInfo()