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()
SftpRemoteFile
getRemoteFile
in interface SftpRemoteFile<Object>
public String getFilename()
SftpRemoteFile
getFilename
in interface SftpRemoteFile<Object>
public String getLongname()
SftpRemoteFile
getLongname
in interface SftpRemoteFile<Object>
public boolean isDirectory()
SftpRemoteFile
isDirectory
in interface SftpRemoteFile<Object>
public long getFileLength()
SftpRemoteFile
getFileLength
in interface SftpRemoteFile<Object>
public long getLastModified()
SftpRemoteFile
getLastModified
in interface SftpRemoteFile<Object>
Apache Camel