net.sf.rej.gui.editor
Class RecentFiles
java.lang.Object
net.sf.rej.gui.editor.RecentFiles
public class RecentFiles
- extends java.lang.Object
A set of functionalities for maintaing a recent files menu in the "File"
menu.
- Author:
- Sami Koivu
Method Summary |
void |
add(java.lang.String file)
|
java.util.List<java.lang.String> |
getList()
|
void |
load()
|
void |
serialize()
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RecentFiles
public RecentFiles(java.io.File file)
load
public void load()
throws java.io.IOException
- Throws:
java.io.IOException
serialize
public void serialize()
throws java.io.IOException
- Throws:
java.io.IOException
getList
public java.util.List<java.lang.String> getList()
add
public void add(java.lang.String file)
throws java.io.IOException
- Throws:
java.io.IOException