Package org.opennms.netmgt.config
Class ChartConfigManager
- java.lang.Object
-
- org.opennms.netmgt.config.ChartConfigManager
-
- Direct Known Subclasses:
ChartConfigFactory
public abstract class ChartConfigManager extends Object
Abstract ChartConfigManager class.
- Version:
- $Id: $
- Author:
- david
-
-
Constructor Summary
Constructors Constructor Description ChartConfigManager()
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description ChartConfiguration
getConfiguration()
getConfigurationstatic void
parseXml(InputStream stream)
parseXmlvoid
saveCurrent()
saveCurrentprotected abstract void
saveXml(String xml)
saveXmlvoid
setConfiguration(ChartConfiguration configuration)
setConfigurationprotected abstract void
update()
update
-
-
-
Method Detail
-
parseXml
public static void parseXml(InputStream stream) throws IOException
parseXml
- Parameters:
stream
- aInputStream
object.- Throws:
IOException
- if any.
-
saveXml
protected abstract void saveXml(String xml) throws IOException
saveXml
- Parameters:
xml
- aString
object.- Throws:
IOException
- if any.
-
saveCurrent
public void saveCurrent() throws IOException
saveCurrent
- Throws:
IOException
- if any.
-
getConfiguration
public ChartConfiguration getConfiguration() throws IOException
getConfiguration
- Returns:
- a
ChartConfiguration
object. - Throws:
IOException
- if any.
-
setConfiguration
public void setConfiguration(ChartConfiguration configuration)
setConfiguration
- Parameters:
configuration
- aChartConfiguration
object.
-
update
protected abstract void update() throws IOException
update
- Throws:
IOException
- if any.
-
-