|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.maverick.sshd.SftpFile
public class 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
FileSystem.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
FileSystem.readDirectory(byte[]).
For all other uses an absolute path is required.
path - | Method Detail |
|---|
public int hashCode()
hashCode in class java.lang.Objectpublic 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 | ||||||||