Class LegacyVOMSESParserImpl

  • All Implemented Interfaces:
    VOMSESParser

    public class LegacyVOMSESParserImpl
    extends java.lang.Object
    implements VOMSESParser
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected void fileSanityChecks​(java.io.File f)  
      java.util.List<VOMSServerInfo> parse​(java.io.File f)
      Parses the VOMS contact information from the File passed as argument.
      java.util.List<VOMSServerInfo> parse​(java.io.Reader vomsesReader)
      Parses the VOMS contact information from the Reader passed as argument.
      protected java.util.List<VOMSServerInfo> parseDirectory​(java.io.File directory)  
      protected VOMSServerInfo parseLine​(java.lang.String vomsesLine)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • LegacyVOMSESParserImpl

        public LegacyVOMSESParserImpl()
    • Method Detail

      • fileSanityChecks

        protected void fileSanityChecks​(java.io.File f)
      • parseLine

        protected VOMSServerInfo parseLine​(java.lang.String vomsesLine)
                                    throws java.net.URISyntaxException
        Throws:
        java.net.URISyntaxException
      • parse

        public java.util.List<VOMSServerInfo> parse​(java.io.Reader vomsesReader)
        Description copied from interface: VOMSESParser
        Parses the VOMS contact information from the Reader passed as argument.
        Specified by:
        parse in interface VOMSESParser
        Parameters:
        vomsesReader - the Reader object where voms contact information can be read from.
        Returns:
        a VOMSServerInfo object containing the VOMS server contact information.
      • parseDirectory

        protected java.util.List<VOMSServerInfo> parseDirectory​(java.io.File directory)
      • parse

        public java.util.List<VOMSServerInfo> parse​(java.io.File f)
        Description copied from interface: VOMSESParser
        Parses the VOMS contact information from the File passed as argument.
        Specified by:
        parse in interface VOMSESParser
        Parameters:
        f - the File object where voms contact information can be read from.
        Returns:
        a VOMSServerInfo object containing the VOMS server contact information.