public class MRUFileList extends Object
Modifier and Type | Method and Description |
---|---|
static void |
addChangeListener(ChangeListener listener) |
List |
getMRUList()
Returns an unmodifiable List of the MRU opened file list within Chainsaw
|
static void |
loadLog4jMRUListFromReader(Reader reader) |
static void |
loadLog4jMRUListFromXML(String xml) |
static MRUFileList |
log4jMRU() |
void |
opened(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(ChangeListener listener) |
public static void addChangeListener(ChangeListener listener)
public static void removeChangeListener(ChangeListener listener)
public void opened(URL url)
url
- public List getMRUList()
public static MRUFileList log4jMRU()
public static void loadLog4jMRUListFromXML(String xml)
public static void loadLog4jMRUListFromReader(Reader reader)
Copyright © 2002-2017 Apache Software Foundation. All Rights Reserved.
Apache Logging, Apache Log4j, Log4j, Apache Chainsaw, Chainsaw, Apache, the Apache feather logo, the Apache Logging project logo, and the Apache Log4j logo are trademarks of The Apache Software Foundation.