|
Secure iNet Factory | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.jscape.inet.file.JFilePermissions.Permission
public static final class JFilePermissions.Permission
Represents Unix object permission.
Constructor Summary | |
---|---|
JFilePermissions.Permission(boolean readAllowed,
boolean writeAllowed,
boolean executeAllowed)
|
|
JFilePermissions.Permission(int value)
Creates a new permission object for the specified integer value. |
|
JFilePermissions.Permission(java.lang.String value)
Creates a new permission object for the specified string representation as for example "rwx". |
Method Summary | |
---|---|
boolean |
executeAllowed()
Checks if executing is allowed. |
int |
intValue()
Obtains integer representation of the current permission. |
boolean |
readAllowed()
Checks if reading is allowed. |
java.lang.String |
toString()
Obtains string representation of the current permission as for example "rwx". |
boolean |
writeAllowed()
Checks if writing is allowed. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public JFilePermissions.Permission(boolean readAllowed, boolean writeAllowed, boolean executeAllowed)
readAllowed
- writeAllowed
- executeAllowed
- public JFilePermissions.Permission(int value)
value
- permission integer representationpublic JFilePermissions.Permission(java.lang.String value)
value
- permission string representationMethod Detail |
---|
public boolean readAllowed()
true
if reading is allowed;
false
otherwisepublic boolean writeAllowed()
true
if writing is allowed;
false
otherwisepublic boolean executeAllowed()
true
if executing is allowed;
false
otherwisepublic int intValue()
public java.lang.String toString()
toString
in class java.lang.Object
|
Secure iNet Factory | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |