|
|||||||||
| 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(String path)
Creates a new SftpFile object. |
|
SftpFile(String path,
SftpFileAttributes attrs)
Creates a new SftpFile object. |
|
| Method Summary | |
|---|---|
String |
getAbsolutePath()
Get the absolute path |
SftpFileAttributes |
getAttributes()
Get the files attributes. |
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(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(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 Objectpublic String getFilename()
public SftpFileAttributes getAttributes()
public String getAbsolutePath()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||