|
Secure iNet Factory | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.jscape.inet.sftp.packets.SftpFileAttributes.AttributePresenceFlags
public static class SftpFileAttributes.AttributePresenceFlags
The attribute presence flags.
Constructor Summary | |
---|---|
SftpFileAttributes.AttributePresenceFlags()
|
Method Summary | |
---|---|
boolean |
isAcModTimePresent()
Checks if the file time attributes are present. |
boolean |
isExtendedPresent()
Checks if the file extended attributes are present. |
boolean |
isPermissionsPresent()
Checks if the file permission attribute is present. |
boolean |
isSizePresent()
Checks if the file size attribute is present. |
boolean |
isUidGidPresent()
Checks if the file owner and group attributes are present. |
static SftpFileAttributes.AttributePresenceFlags |
readFrom(java.io.InputStream in,
java.lang.String charset)
Reads the file attribute presence flags from the stream. |
void |
setAcModTimePresent()
Setups the time attributes presence. |
void |
setExtendedPresent()
Setups the extended attributes presence. |
void |
setPermissionsPresent()
Setups the permission attribute presence. |
void |
setSizePresent()
Setups the size attribute presence. |
void |
setUidGidPresent()
Setups the owner and group attributes presence. |
void |
writeTo(java.io.OutputStream out)
Writes the current object to the specified stream. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SftpFileAttributes.AttributePresenceFlags()
Method Detail |
---|
public static SftpFileAttributes.AttributePresenceFlags readFrom(java.io.InputStream in, java.lang.String charset) throws java.io.IOException
in
- the source input stream
java.io.IOException
- if an I/O error occurspublic boolean isSizePresent()
true
if the size attribute is present;
false
otherwisepublic void setSizePresent()
public boolean isUidGidPresent()
true
if the owner and group attributes
are present; false
otherwisepublic void setUidGidPresent()
public boolean isPermissionsPresent()
true
if the permission attribute is present;
false
otherwisepublic void setPermissionsPresent()
public boolean isAcModTimePresent()
true
if the time attributes are present;
false
otherwisepublic void setAcModTimePresent()
public boolean isExtendedPresent()
true
if the extended attributes are present;
false
otherwisepublic void setExtendedPresent()
public void writeTo(java.io.OutputStream out) throws java.io.IOException
out
- the output stream
java.io.IOException
- if I/O error occured
|
Secure iNet Factory | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |