Class RowError

    • Constructor Detail

      • RowError

        public RowError​(String message,
                        RowReport report,
                        int lineNumber)
    • Method Detail

      • getPrintableLines

        public List<String> getPrintableLines()
        Description copied from interface: CsvError
        Returns all lines, first the message, then the content and focus line, if available. These lines are usable to print with a monospaced font, since the focus line will show in the line above where the error occurred. If lines are needed for the browser, use CsvError.getRowParts().
        all lines, in printable format. Will always contain at least one line.
      • getRowParts

        public List<RowPart> getRowParts()
        Description copied from interface: CsvError
        Gets the content line where the error occurred, if available. The line is split into RowPart entries. Every RowPart knows about itself when it must be highlighted. This method is useful for reporting on the error in another format, for example HTML or PDF, since you can control the highlighting.
        the content line split into RowPart entries. Will be an empty list if not available.
      • getLineNumber

        public int getLineNumber()
        Description copied from interface: CsvError
        Returns the line number where the error occurred, zero-based. Will be -1 if not applicable.
        line number where the error occurred