Class LineByLineNavigator<T extends Line>

java.lang.Object
org.eclipse.epsilon.egl.formatter.linebyline.LineByLineNavigator<T>

public class LineByLineNavigator<T extends Line> extends Object
  • Constructor Details

    • LineByLineNavigator

      public LineByLineNavigator(String text, LineFactory<T> lineFactory)
  • Method Details

    • hasPreviousLine

      public boolean hasPreviousLine()
    • getPreviousLine

      public T getPreviousLine()
    • getCurrentLine

      public T getCurrentLine()
    • hasMoreLines

      public boolean hasMoreLines()
    • insertBeforeCurrentLine

      public void insertBeforeCurrentLine(T formattedLine)
    • joinCurrentToPrevious

      public void joinCurrentToPrevious()
    • joinCurrentToPrevious

      public void joinCurrentToPrevious(String glue)
    • moveToNextLine

      public void moveToNextLine()
    • getText

      public String getText()