Class DatePriceParser.DefaultParser

    • Constructor Summary

      Constructors 
      Constructor Description
      DefaultParser()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      DatePrice parse​(java.lang.String line)
      Parse one line into some custom object.
      • Methods inherited from class java.lang.Object

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

      • DefaultParser

        DefaultParser()
    • Method Detail

      • parse

        public DatePrice parse​(java.lang.String line)
        Description copied from interface: TextLineReader.Parser
        Parse one line into some custom object. Returning null indicates that parsing failed!
        Specified by:
        parse in interface TextLineReader.Parser<DatePrice>
        Parameters:
        line - The text line to parse
        Returns:
        An object containing (referencing) the parsed data