Class SftpRemoteFileJCraft
java.lang.Object
org.apache.camel.component.file.remote.SftpRemoteFileJCraft
- All Implemented Interfaces:
SftpRemoteFile<com.jcraft.jsch.ChannelSftp.LsEntry>
public class SftpRemoteFileJCraft
extends Object
implements SftpRemoteFile<com.jcraft.jsch.ChannelSftp.LsEntry>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionlongThe file sizeThe file namelongThe file modification timestamp (in millis)The long file namecom.jcraft.jsch.ChannelSftp.LsEntryGets the remote file object.booleanWhether its a directory
-
Constructor Details
-
SftpRemoteFileJCraft
public SftpRemoteFileJCraft(com.jcraft.jsch.ChannelSftp.LsEntry entry)
-
-
Method Details
-
getRemoteFile
public com.jcraft.jsch.ChannelSftp.LsEntry getRemoteFile()Description copied from interface:SftpRemoteFileGets the remote file object.- Specified by:
getRemoteFilein interfaceSftpRemoteFile<com.jcraft.jsch.ChannelSftp.LsEntry>
-
getFilename
Description copied from interface:SftpRemoteFileThe file name- Specified by:
getFilenamein interfaceSftpRemoteFile<com.jcraft.jsch.ChannelSftp.LsEntry>
-
getLongname
Description copied from interface:SftpRemoteFileThe long file name- Specified by:
getLongnamein interfaceSftpRemoteFile<com.jcraft.jsch.ChannelSftp.LsEntry>
-
isDirectory
public boolean isDirectory()Description copied from interface:SftpRemoteFileWhether its a directory- Specified by:
isDirectoryin interfaceSftpRemoteFile<com.jcraft.jsch.ChannelSftp.LsEntry>
-
getFileLength
public long getFileLength()Description copied from interface:SftpRemoteFileThe file size- Specified by:
getFileLengthin interfaceSftpRemoteFile<com.jcraft.jsch.ChannelSftp.LsEntry>
-
getLastModified
public long getLastModified()Description copied from interface:SftpRemoteFileThe file modification timestamp (in millis)- Specified by:
getLastModifiedin interfaceSftpRemoteFile<com.jcraft.jsch.ChannelSftp.LsEntry>
-