Interface VOMSESParser

  • All Known Implementing Classes:
    LegacyVOMSESParserImpl

    public interface VOMSESParser
    A VOMSES file parser.
    Author:
    Andrea Ceccanti
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      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.
    • Method Detail

      • parse

        java.util.List<VOMSServerInfo> parse​(java.io.Reader vomsesReader)
        Parses the VOMS contact information from the Reader passed as argument.
        Parameters:
        vomsesReader - the Reader object where voms contact information can be read from.
        Returns:
        a VOMSServerInfo object containing the VOMS server contact information.
        Throws:
        VOMSError - in case of parsing errors
      • parse

        java.util.List<VOMSServerInfo> parse​(java.io.File f)
        Parses the VOMS contact information from the File passed as argument.
        Parameters:
        f - the File object where voms contact information can be read from.
        Returns:
        a VOMSServerInfo object containing the VOMS server contact information.
        Throws:
        VOMSError - in case of parsing errors