Class SftpRemoteFileSingle
- java.lang.Object
-
- org.apache.camel.component.file.remote.SftpRemoteFileSingle
-
- All Implemented Interfaces:
SftpRemoteFile<Object>
public class SftpRemoteFileSingle extends Object implements SftpRemoteFile<Object>
-
-
Constructor Summary
Constructors Constructor Description SftpRemoteFileSingle(String filename)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description long
getFileLength()
The file sizeString
getFilename()
The file namelong
getLastModified()
The file modification timestamp (in millis)String
getLongname()
The long file nameObject
getRemoteFile()
Gets the remote file object.boolean
isDirectory()
Whether its a directory
-
-
-
Constructor Detail
-
SftpRemoteFileSingle
public SftpRemoteFileSingle(String filename)
-
-
Method Detail
-
getRemoteFile
public Object getRemoteFile()
Description copied from interface:SftpRemoteFile
Gets the remote file object.- Specified by:
getRemoteFile
in interfaceSftpRemoteFile<Object>
-
getFilename
public String getFilename()
Description copied from interface:SftpRemoteFile
The file name- Specified by:
getFilename
in interfaceSftpRemoteFile<Object>
-
getLongname
public String getLongname()
Description copied from interface:SftpRemoteFile
The long file name- Specified by:
getLongname
in interfaceSftpRemoteFile<Object>
-
isDirectory
public boolean isDirectory()
Description copied from interface:SftpRemoteFile
Whether its a directory- Specified by:
isDirectory
in interfaceSftpRemoteFile<Object>
-
getFileLength
public long getFileLength()
Description copied from interface:SftpRemoteFile
The file size- Specified by:
getFileLength
in interfaceSftpRemoteFile<Object>
-
getLastModified
public long getLastModified()
Description copied from interface:SftpRemoteFile
The file modification timestamp (in millis)- Specified by:
getLastModified
in interfaceSftpRemoteFile<Object>
-
-