Class FileHistory

    • Method Detail

      • addOperation

        public void addOperation​(java.lang.String type,
                                 java.lang.String date,
                                 java.lang.String filename,
                                 FileHistory history)
        Add a revision from complete information created elsewhere.
        Parameters:
        type - operation type
        date - operation date
        filename - file operated on
        history - source history instance
      • addOperation

        public void addOperation​(java.lang.String type,
                                 java.lang.String filename,
                                 FileHistory history)
      • purge

        public void purge​(int keep)
        Parameters:
        keep - Number of levels to keep
      • toString

        public java.lang.String toString​(java.lang.String prefix)
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object