|
Java AFS API v1.4 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.openafs.jafs.ACL
An abstract representation of AFS file and directory pathnames. This class is an extension of the standard Java File class with file-based manipulation methods overridden by integrated AFS native methods.
Nested Class Summary | |
static class |
ACL.Entry
AFS ACL Entry Class. |
Constructor Summary | |
ACL(String path)
|
Method Summary | |
void |
addNegativeEntry(ACL.Entry entry)
|
void |
addPositiveEntry(ACL.Entry entry)
|
int |
compareTo(ACL acl)
Compares two ACL objects respective to their paths and does not factor any other attribute. |
int |
compareTo(Object obj)
Comparable interface method. |
boolean |
equals(ACL acl)
Tests whether two ACL objects are equal, based on their
paths and permission bits. |
void |
flush()
|
int |
getEntryCount()
|
ACL.Entry[] |
getNegativeEntries()
|
String |
getPath()
|
ACL.Entry[] |
getPositiveEntries()
|
void |
setNegativeEntries(ACL.Entry[] entries)
|
void |
setPositiveEntries(ACL.Entry[] entries)
|
String |
toString()
Returns a String representation of this ACL |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public ACL(String path) throws AFSException
Method Detail |
public int getEntryCount()
public String getPath()
public ACL.Entry[] getPositiveEntries()
public void addPositiveEntry(ACL.Entry entry) throws AFSException
AFSException
public void setPositiveEntries(ACL.Entry[] entries) throws AFSException
AFSException
public ACL.Entry[] getNegativeEntries()
public void addNegativeEntry(ACL.Entry entry) throws AFSException
AFSException
public void setNegativeEntries(ACL.Entry[] entries) throws AFSException
AFSException
public void flush() throws AFSException
AFSException
public int compareTo(ACL acl)
acl
- The ACL object to be compared to this ACL
instance
public int compareTo(Object obj)
compareTo
in interface Comparable
compareTo(ACL)
public boolean equals(ACL acl)
ACL
objects are equal, based on their
paths and permission bits.
acl
- the ACL to test
public String toString()
ACL
toString
in class Object
ACL
|
Java AFS API (jafs) for OpenAFS | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |