public class EuGridPmaNamespacesParser extends java.lang.Object implements NamespacesParser
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.Modifier and Type | Field and Description |
---|---|
static java.lang.String |
NS_REGEXP |
Constructor and Description |
---|
EuGridPmaNamespacesParser(java.lang.String filePath,
boolean openssl1Mode) |
Modifier and Type | Method and Description |
---|---|
protected int |
consumeQuoted(char[] chars,
int offset,
java.lang.StringBuilder ret) |
protected void |
handleEntry(java.lang.String line) |
java.util.List<NamespacePolicy> |
parse() |
protected java.lang.String |
stripComments(java.lang.String from) |
public static final java.lang.String NS_REGEXP
public EuGridPmaNamespacesParser(java.lang.String filePath, boolean openssl1Mode)
public java.util.List<NamespacePolicy> parse() throws java.io.IOException
parse
in interface NamespacesParser
java.io.IOException
protected java.lang.String stripComments(java.lang.String from) throws java.io.IOException
java.io.IOException
protected void handleEntry(java.lang.String line) throws java.io.IOException
java.io.IOException
protected int consumeQuoted(char[] chars, int offset, java.lang.StringBuilder ret) throws java.io.IOException
java.io.IOException