|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.maverick.sshd.SftpFile
Represents an SFTP file object.
| Constructor Summary | |
SftpFile(java.lang.String path)
Creates a new SftpFile object. |
|
SftpFile(java.lang.String path,
SftpFileAttributes attrs)
Creates a new SftpFile object. |
|
| Method Summary | |
java.lang.String |
getAbsolutePath()
Get the absolute path |
SftpFileAttributes |
getAttributes()
Get the files attributes. |
java.lang.String |
getFilename()
Get the filename. |
int |
hashCode()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public SftpFile(java.lang.String path,
SftpFileAttributes attrs)
IMPORTANT: Each SftpFile object should be initialized with the relative
path of the file when used in
NativeFileSystemProvider.readDirectory(byte[]).
For all other uses an absolute path is required.
path - attrs - public SftpFile(java.lang.String path)
IMPORTANT: Each SftpFile object should be initialized with the relative
path of the file when used in
NativeFileSystemProvider.readDirectory(byte[]).
For all other uses an absolute path is required.
path - | Method Detail |
public int hashCode()
public java.lang.String getFilename()
public SftpFileAttributes getAttributes()
public java.lang.String getAbsolutePath()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||