|
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
public class JFilePermissions
POSIX file permissions. Contains permissions for owner, owner group and other.
| Nested Class Summary | |
|---|---|
static class |
JFilePermissions.Permission
Represents Unix object permission. |
| Constructor Summary | |
|---|---|
JFilePermissions(int value)
Creates a new Unix permissions object from its integer representation. |
|
JFilePermissions(JFileType type,
JFilePermissions.Permission ownerPermission,
JFilePermissions.Permission groupPermission,
JFilePermissions.Permission otherPermission)
|
|
JFilePermissions(java.lang.String value)
Creates a new Unix permissions object from its string representation. |
|
| Method Summary | |
|---|---|
JFilePermissions.Permission |
getGroupPermission()
Obatins object group permission. |
JFilePermissions.Permission |
getOtherPermission()
Obtains object other permission. |
JFilePermissions.Permission |
getOwnerPermission()
Obtains object owner permission. |
JFileType |
getType()
Obtains file type. |
int |
intValue()
Obtains integer representation of the current permissions. |
java.lang.String |
toString()
Obtains string representation of the object permissions as for example "rw-r--r--". |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public JFilePermissions(JFileType type,
JFilePermissions.Permission ownerPermission,
JFilePermissions.Permission groupPermission,
JFilePermissions.Permission otherPermission)
type - ownerPermission - groupPermission - otherPermission - public JFilePermissions(int value)
value - permissions integer representationpublic JFilePermissions(java.lang.String value)
value - valid string permissions representation, for example:
"rw-r--r--"| Method Detail |
|---|
public JFileType getType()
public JFilePermissions.Permission getOwnerPermission()
public JFilePermissions.Permission getGroupPermission()
public JFilePermissions.Permission getOtherPermission()
public 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 | |||||||||