Class TextReplaceResultSet


  • public final class TextReplaceResultSet
    extends java.lang.Object
    • Field Detail

      • startLine

        private int startLine
      • stopLine

        private int stopLine
      • exception

        private java.lang.Exception exception
    • Constructor Detail

      • TextReplaceResultSet

        public TextReplaceResultSet()
    • Method Detail

      • add

        public boolean add​(LineReplaceResult o)
        Parameters:
        o - could be null value, if the line is not changed
      • get

        public LineReplaceResult get​(int index)
        Parameters:
        index - line index in the document
        Returns:
        null if index is out of range
      • areResultsChanged

        public boolean areResultsChanged()
      • size

        public int size()
      • getStartLine

        public int getStartLine()
        Returns:
        Returns the startLine.
      • setStartLine

        public void setStartLine​(int startLine)
        Parameters:
        startLine - The startLine to set.
      • getStopLine

        public int getStopLine()
        Returns:
        Returns the stopLine - last changed line in result
      • setStopLine

        public void setStopLine​(int stopLine)
        Parameters:
        stopLine - The stopLine to set.
      • getNumberOfLines

        public int getNumberOfLines()
      • clear

        public void clear()
      • getException

        public java.lang.Exception getException()
        Returns:
        exception which was thrown during writing the document, if any
      • setException

        public void setException​(java.lang.Exception exception)
        Parameters:
        exception - which was thrown during writing the document, if any