org.glite.security.util.namespace
Class EUGridNamespaceFormat

java.lang.Object
  extended by org.glite.security.util.namespace.NamespaceFormat
      extended by org.glite.security.util.namespace.EUGridNamespaceFormat

public class EUGridNamespaceFormat
extends NamespaceFormat

Implementation of namespaces format provided by EUGridPMA and IGTF distributions. NAMESPACES-VERSION: 1.0

Author:
alyu

Constructor Summary
EUGridNamespaceFormat()
          The constructor to generate a namespace object.
 
Method Summary
 void parse(java.lang.String filename)
          Parses a namespaces file.
 
Methods inherited from class org.glite.security.util.namespace.NamespaceFormat
getPolices, getVersion, setVersion
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EUGridNamespaceFormat

public EUGridNamespaceFormat()
The constructor to generate a namespace object.

Method Detail

parse

public void parse(java.lang.String filename)
           throws java.io.IOException,
                  java.text.ParseException
Parses a namespaces file.

Specified by:
parse in class NamespaceFormat
Parameters:
filename - filename of the namespaces file
Throws:
java.io.IOException - if unsuccessful
java.text.ParseException - if the namespaces file format is incorrect