jmri.jmrit.revhistory
Class FileHistory
java.lang.Object
jmri.jmrit.revhistory.FileHistory
public class FileHistory
- extends Object
Memo class to remember a file revision history.
These can be nested: A revision can come with a history.
- Author:
- Bob Jacobsen Copyright (c) 2010
FileHistory
public FileHistory()
addOperation
public void addOperation(String type,
String date,
String filename,
FileHistory history)
- Used to add a revision form
complete information created elsewhere
addOperation
public void addOperation(FileHistory.OperationMemo r)
addOperation
public void addOperation(String type,
String filename,
FileHistory history)
purge
public void purge(int keep)
- Parameters:
keep - Number of levels to keep
toString
public String toString(String prefix)
toString
public String toString()
- Overrides:
toString in class Object
getList
public ArrayList<FileHistory.OperationMemo> getList()
Copyright © 1997 - 2011 JMRI Community.
JMRI, DecoderPro, PanelPro, SoundPro, DispatcherPro and associated logos are our trademarks.
Additional information on copyright, trademarks and licenses is linked here.
Site hosted by: