DefaultContent.lineCount

Returns the number of lines that are in the specified text. <p>

@param text the text to lineate @return number of lines in the text

  1. int lineCount(int startOffset, int length)
  2. int lineCount(String text)
    class DefaultContent
    int
    lineCount
    (
    String text
    )

Meta