Class EuGridPmaNamespacesParser
java.lang.Object
eu.emi.security.authn.x509.helpers.ns.EuGridPmaNamespacesParser
- All Implemented Interfaces:
NamespacesParser
Parses a single EUGridPMA namespaces file and returns
NamespacePolicy
object.
The syntax is defined in the document (available from the EUGridPMA website):
eugridpma-namespaces-format-spec-20060113-0-1-4.doc, Mon, 16 January 2006.
This class is not thread safe.- Author:
- K. Benedyczak
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected int
consumeQuoted
(char[] chars, int offset, StringBuilder ret) protected void
handleEntry
(String line) parse()
protected String
stripComments
(String from)
-
Field Details
-
NS_REGEXP
- See Also:
-
-
Constructor Details
-
EuGridPmaNamespacesParser
-
-
Method Details
-
parse
- Specified by:
parse
in interfaceNamespacesParser
- Throws:
IOException
-
stripComments
- Throws:
IOException
-
handleEntry
- Throws:
IOException
-
consumeQuoted
- Throws:
IOException
-