Class DefaultLSCFileParser

  • All Implemented Interfaces:
    LSCFileParser

    public class DefaultLSCFileParser
    extends Object
    implements LSCFileParser
    The default implementation for the LSC file parser.
    Author:
    Andrea Ceccanti
    • Constructor Detail

      • DefaultLSCFileParser

        public DefaultLSCFileParser()
    • Method Detail

      • parse

        public LSCFile parse​(String vo,
                             String hostname,
                             InputStream is)
        Description copied from interface: LSCFileParser
        Parses an LSC file from a generic input stream.
        Specified by:
        parse in interface LSCFileParser
        Parameters:
        vo - the name of the VO this LSC file is about
        hostname - the name of host this LSC file is about
        is - an InputStream that contains the LSC information
        Returns:
        an LSCFile object
      • parse

        public LSCFile parse​(String vo,
                             String hostname,
                             File file)
        Description copied from interface: LSCFileParser
        Parses an LSC file.
        Specified by:
        parse in interface LSCFileParser
        Parameters:
        vo - the name of the VO this LSC file is about
        hostname - the name of host this LSC file is about
        file - the LSC file
        Returns:
        an LSCFile object