com.groupdocs.parser

Interfaces

Classes

Exceptions

com.groupdocs.parser

Class TableCellText



  • public final class TableCellText
    extends Object

    Defines the information about cell's text.

    • Constructor Detail

      • TableCellText

        public TableCellText(String text)

        Initializes a new instance of the TableCellText class.

        Parameters:
        text - The text of the cell.
      • TableCellText

        public TableCellText(String text,
                     Integer maxLineLength)

        Initializes a new instance of the TableCellText class.

        Parameters:
        text - The text of the cell.
        maxLineLength - The maximum length of the text's line.
      • TableCellText

        public TableCellText(String[] sourceLines)

        Initializes a new instance of the TableCellText class.

        Parameters:
        sourceLines - The array of the lines.
    • Method Detail

      • getCount

        public int getCount()

        Gets a total count of the lines.

        Returns:
        A total count of the lines.
      • readLine

        public String readLine()

        Reads a line of characters from the cell and returns the data as a string.

        Returns:
        The next line from the cell, or null if all characters have been read.