|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sshtools.j2ssh.sftp.FileAttributes
DOCUMENT ME!
Field Summary | |
static int |
S_IFBLK
DOCUMENT ME! |
static int |
S_IFCHR
DOCUMENT ME! |
static int |
S_IFDIR
DOCUMENT ME! |
static int |
S_IFIFO
DOCUMENT ME! |
static int |
S_IFLNK
DOCUMENT ME! |
static int |
S_IFMT
DOCUMENT ME! |
static int |
S_IFREG
DOCUMENT ME! |
static int |
S_IFSOCK
DOCUMENT ME! |
static int |
S_IRGRP
DOCUMENT ME! |
static int |
S_IROTH
DOCUMENT ME! |
static int |
S_IRUSR
DOCUMENT ME! |
static int |
S_ISGID
DOCUMENT ME! |
static int |
S_ISUID
DOCUMENT ME! |
static int |
S_IWGRP
DOCUMENT ME! |
static int |
S_IWOTH
DOCUMENT ME! |
static int |
S_IWUSR
DOCUMENT ME! |
static int |
S_IXGRP
DOCUMENT ME! |
static int |
S_IXOTH
DOCUMENT ME! |
static int |
S_IXUSR
DOCUMENT ME! |
static int |
SSH_FILEXFER_TYPE_DIRECTORY
DOCUMENT ME! |
static int |
SSH_FILEXFER_TYPE_REGULAR
DOCUMENT ME! |
static int |
SSH_FILEXFER_TYPE_SPECIAL
DOCUMENT ME! |
static int |
SSH_FILEXFER_TYPE_SYMLINK
DOCUMENT ME! |
static int |
SSH_FILEXFER_TYPE_UNKNOWN
DOCUMENT ME! |
Constructor Summary | |
FileAttributes()
Creates a new FileAttributes object. |
|
FileAttributes(ByteArrayReader bar)
|
Method Summary | |
UnsignedInteger32 |
getAccessedTime()
DOCUMENT ME! |
java.util.Map |
getExtendedAttributes()
|
UnsignedInteger32 |
getGID()
DOCUMENT ME! |
UnsignedInteger32 |
getModifiedTime()
DOCUMENT ME! |
java.lang.String |
getModTimeString()
DOCUMENT ME! |
UnsignedInteger32 |
getPermissions()
DOCUMENT ME! |
java.lang.String |
getPermissionsString()
DOCUMENT ME! |
UnsignedInteger64 |
getSize()
DOCUMENT ME! |
UnsignedInteger32 |
getUID()
DOCUMENT ME! |
boolean |
isBlock()
DOCUMENT ME! |
boolean |
isCharacter()
DOCUMENT ME! |
boolean |
isDirectory()
DOCUMENT ME! |
boolean |
isFifo()
DOCUMENT ME! |
boolean |
isFile()
DOCUMENT ME! |
boolean |
isFlagSet(int flag)
DOCUMENT ME! |
boolean |
isLink()
DOCUMENT ME! |
boolean |
isSocket()
DOCUMENT ME! |
void |
setGID(UnsignedInteger32 gid)
DOCUMENT ME! |
void |
setPermissions(java.lang.String newPermissions)
DOCUMENT ME! |
void |
setPermissions(UnsignedInteger32 permissions)
|
void |
setSize(UnsignedInteger64 size)
DOCUMENT ME! |
void |
setTimes(UnsignedInteger32 atime,
UnsignedInteger32 mtime)
DOCUMENT ME! |
void |
setUID(UnsignedInteger32 uid)
DOCUMENT ME! |
byte[] |
toByteArray()
DOCUMENT ME! |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final int SSH_FILEXFER_TYPE_REGULAR
public static final int SSH_FILEXFER_TYPE_DIRECTORY
public static final int SSH_FILEXFER_TYPE_SYMLINK
public static final int SSH_FILEXFER_TYPE_SPECIAL
public static final int SSH_FILEXFER_TYPE_UNKNOWN
public static final int S_IFMT
public static final int S_IFSOCK
public static final int S_IFLNK
public static final int S_IFREG
public static final int S_IFBLK
public static final int S_IFDIR
public static final int S_IFCHR
public static final int S_IFIFO
public static final int S_ISUID
public static final int S_ISGID
public static final int S_IRUSR
public static final int S_IWUSR
public static final int S_IXUSR
public static final int S_IRGRP
public static final int S_IWGRP
public static final int S_IXGRP
public static final int S_IROTH
public static final int S_IWOTH
public static final int S_IXOTH
Constructor Detail |
public FileAttributes()
public FileAttributes(ByteArrayReader bar) throws java.io.IOException
Method Detail |
public UnsignedInteger32 getUID()
public void setUID(UnsignedInteger32 uid)
uid
- DOCUMENT ME!public void setGID(UnsignedInteger32 gid)
gid
- DOCUMENT ME!public UnsignedInteger32 getGID()
public void setSize(UnsignedInteger64 size)
size
- DOCUMENT ME!public UnsignedInteger64 getSize()
public void setPermissions(UnsignedInteger32 permissions)
public void setPermissions(java.lang.String newPermissions)
newPermissions
- DOCUMENT ME!public UnsignedInteger32 getPermissions()
public void setTimes(UnsignedInteger32 atime, UnsignedInteger32 mtime)
atime
- DOCUMENT ME!mtime
- DOCUMENT ME!public UnsignedInteger32 getAccessedTime()
public UnsignedInteger32 getModifiedTime()
public java.util.Map getExtendedAttributes()
public boolean isFlagSet(int flag)
flag
- DOCUMENT ME!
public byte[] toByteArray() throws java.io.IOException
java.io.IOException
- DOCUMENT ME!public java.lang.String getPermissionsString()
public java.lang.String getModTimeString()
public boolean isDirectory()
public boolean isFile()
public boolean isLink()
public boolean isFifo()
public boolean isBlock()
public boolean isCharacter()
public boolean isSocket()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |