接口 LineMapper<T>

    • 方法概要

      所有方法 实例方法 抽象方法 
      修饰符和类型方法说明
      TmapLine​(java.lang.String line, int lineNumber)
      Implementations must implement this method to map the provided line to the parameter type T.
    • 方法详细资料

      • mapLine

        T mapLine​(java.lang.String line,
                  int lineNumber)
           throws java.lang.Exception
        Implementations must implement this method to map the provided line to the parameter type T. The line number represents the number of lines into a file the current line resides.
        参数:
        line - to be mapped
        lineNumber - of the current line
        返回:
        mapped object of type T
        抛出:
        java.lang.Exception - if error occurred while parsing.