public class SftpRemoteFileSingle extends Object implements SftpRemoteFile<Object>
| Constructor and Description |
|---|
SftpRemoteFileSingle(String filename) |
| Modifier and Type | Method and Description |
|---|---|
long |
getFileLength()
The file size
|
String |
getFilename()
The file name
|
long |
getLastModified()
The file modification timestamp (in millis)
|
String |
getLongname()
The long file name
|
Object |
getRemoteFile()
Gets the remote file object.
|
boolean |
isDirectory()
Whether its a directory
|
public SftpRemoteFileSingle(String filename)
public Object getRemoteFile()
SftpRemoteFilegetRemoteFile in interface SftpRemoteFile<Object>public String getFilename()
SftpRemoteFilegetFilename in interface SftpRemoteFile<Object>public String getLongname()
SftpRemoteFilegetLongname in interface SftpRemoteFile<Object>public boolean isDirectory()
SftpRemoteFileisDirectory in interface SftpRemoteFile<Object>public long getFileLength()
SftpRemoteFilegetFileLength in interface SftpRemoteFile<Object>public long getLastModified()
SftpRemoteFilegetLastModified in interface SftpRemoteFile<Object>Apache Camel