Class ConfigurationManager
- java.lang.Object
-
- org.apache.log4j.lf5.viewer.configure.ConfigurationManager
-
public class ConfigurationManager extends Object
ConfigurationManager handles the storage and retrival of the state of the CategoryExplorer
- Author:
- Richard Hurst, Brad Marlborough
-
-
Constructor Summary
Constructors Constructor Description ConfigurationManager(LogBrokerMonitor monitor, LogTable table)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidcollapseTree()protected voiddeleteConfigurationFile()protected StringgetFilename()protected StringgetValue(NamedNodeMap map, String attr)protected voidload()protected voidprocessCategories(Document doc)protected voidprocessLogLevelColors(Document doc)protected voidprocessLogLevels(Document doc)protected voidprocessLogTableColumns(Document doc)protected voidprocessRecordFilter(Document doc)voidreset()voidsave()protected voidselectAllNodes()protected voidstore(String s)static StringtreePathToString(TreePath path)
-
-
-
Constructor Detail
-
ConfigurationManager
public ConfigurationManager(LogBrokerMonitor monitor, LogTable table)
-
-
Method Detail
-
save
public void save()
-
reset
public void reset()
-
load
protected void load()
-
processRecordFilter
protected void processRecordFilter(Document doc)
-
processCategories
protected void processCategories(Document doc)
-
processLogLevels
protected void processLogLevels(Document doc)
-
processLogLevelColors
protected void processLogLevelColors(Document doc)
-
processLogTableColumns
protected void processLogTableColumns(Document doc)
-
getValue
protected String getValue(NamedNodeMap map, String attr)
-
collapseTree
protected void collapseTree()
-
selectAllNodes
protected void selectAllNodes()
-
store
protected void store(String s)
-
deleteConfigurationFile
protected void deleteConfigurationFile()
-
getFilename
protected String getFilename()
-
-