net.sf.rej.gui.editor
Class RecentFiles

java.lang.Object
  extended by 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

Constructor Summary
RecentFiles(java.io.File file)
           
 
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
 

Constructor Detail

RecentFiles

public RecentFiles(java.io.File file)
Method Detail

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