org.apache.log4j.chainsaw.prefs
Class MRUFileList

java.lang.Object
  extended by org.apache.log4j.chainsaw.prefs.MRUFileList

public class MRUFileList
extends java.lang.Object


Method Summary
static void addChangeListener(javax.swing.event.ChangeListener listener)
           
 java.util.List getMRUList()
          Returns an unmodifiable List of the MRU opened file list within Chainsaw
static void loadLog4jMRUListFromReader(java.io.Reader reader)
           
static void loadLog4jMRUListFromXML(java.lang.String xml)
           
static MRUFileList log4jMRU()
           
 void opened(java.net.URL url)
          Call this method when something opens a log file, this method adds the URL to the list of known URL's, automatically rolling the list to ensure the list maintains the size property
static void removeChangeListener(javax.swing.event.ChangeListener listener)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

addChangeListener

public static void addChangeListener(javax.swing.event.ChangeListener listener)

removeChangeListener

public static void removeChangeListener(javax.swing.event.ChangeListener listener)

opened

public void opened(java.net.URL url)
Call this method when something opens a log file, this method adds the URL to the list of known URL's, automatically rolling the list to ensure the list maintains the size property

Parameters:
url -

getMRUList

public java.util.List getMRUList()
Returns an unmodifiable List of the MRU opened file list within Chainsaw

Returns:

log4jMRU

public static MRUFileList log4jMRU()

loadLog4jMRUListFromXML

public static void loadLog4jMRUListFromXML(java.lang.String xml)

loadLog4jMRUListFromReader

public static void loadLog4jMRUListFromReader(java.io.Reader reader)


Copyright © 2007 Apache Software Foundation. All Rights Reserved.