Class WikiDiff

    • Constructor Detail

      • WikiDiff

        public WikiDiff​(String strOldText,
                        String strNewText,
                        int nPosition)
        Parameters:
        strOldText - Old Text
        strNewText - New Text
        nPosition - Position
    • Method Detail

      • getChange

        public boolean getChange()
        Gets changes
        Returns:
        true if there is changes
      • getNewText

        public String getNewText()
        Gets new text
        Returns:
        The new text
      • setNewText

        public void setNewText​(String strNewText)
        Sets new text
        Parameters:
        strNewText - The new text
      • getOldText

        public String getOldText()
        Gets old text
        Returns:
        The old text
      • setOldText

        public void setOldText​(String strOldText)
        Sets old text
        Parameters:
        strOldText - The old text
      • getPosition

        public int getPosition()
        Gets the position
        Returns:
        The position
      • setPosition

        public void setPosition​(int nPosition)
        Sets the position
        Parameters:
        nPosition - The position
      • getSubDiffs

        public List<WikiDiff> getSubDiffs()
        Gets diffs
        Returns:
        The diffs
      • setSubDiffs

        public void setSubDiffs​(List<WikiDiff> liistSubDiffs)
        Sets the diffs list
        Parameters:
        liistSubDiffs - The list