|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.glite.security.util.namespace.NamespaceFormat
public abstract class NamespaceFormat
Represents a namespaces file format. Ex: TO Issuer"/CN=SWITCH CA/emailAddress=switch.ca@switch.ch/O=Switch - Teleinformatikdienste fuer Lehre und Forschung/C=CH" PERMIT Subject "/C=CH/O=.*"
Constructor Summary | |
---|---|
NamespaceFormat()
A constructor to create an empty policy. |
Method Summary | |
---|---|
java.util.List<NamespacePolicy> |
getPolices()
Returns a list of issuer, access and subject pairs. |
java.lang.String |
getVersion()
Returns the namespaces version format. |
abstract void |
parse(java.lang.String fileName)
Parses a namespaces file. |
void |
setVersion(java.lang.String version)
Sets the namespaces format version. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public NamespaceFormat()
Method Detail |
---|
public abstract void parse(java.lang.String fileName) throws java.io.IOException, java.text.ParseException
fileName
- fileName of the namespaces file
java.io.IOException
- if unsuccessful
java.text.ParseException
- if the namespaces file format is incorrectpublic java.util.List<NamespacePolicy> getPolices()
public java.lang.String getVersion()
public void setVersion(java.lang.String version)
version
- the format version.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |