Class Source

java.lang.Object
org.luwrain.studio.syntax.Source
All Implemented Interfaces:
Lines

public class Source extends Object implements Lines
  • Constructor Details

    • Source

      public Source(String content)
    • Source

      public Source(String[] lines)
    • Source

      public Source(Lines lines)
  • Method Details

    • getLineStart

      public int getLineStart(int lineIndex)
    • getLineWithPos

      public int getLineWithPos(int pos)
    • getLineCount

      public int getLineCount()
      Specified by:
      getLineCount in interface Lines
    • getLine

      public String getLine(int index)
      Specified by:
      getLine in interface Lines
    • getLines

      public String[] getLines()
    • getText

      public String getText()
    • length

      public int length()