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 ChartConfigurationgetConfiguration()getConfigurationstatic voidparseXml(InputStream stream)parseXmlvoidsaveCurrent()saveCurrentprotected abstract voidsaveXml(String xml)saveXmlvoidsetConfiguration(ChartConfiguration configuration)setConfigurationprotected abstract voidupdate()update
-
-
-
Method Detail
-
parseXml
public static void parseXml(InputStream stream) throws IOException
parseXml
- Parameters:
stream- aInputStreamobject.- Throws:
IOException- if any.
-
saveXml
protected abstract void saveXml(String xml) throws IOException
saveXml
- Parameters:
xml- aStringobject.- Throws:
IOException- if any.
-
saveCurrent
public void saveCurrent() throws IOExceptionsaveCurrent
- Throws:
IOException- if any.
-
getConfiguration
public ChartConfiguration getConfiguration() throws IOException
getConfiguration
- Returns:
- a
ChartConfigurationobject. - Throws:
IOException- if any.
-
setConfiguration
public void setConfiguration(ChartConfiguration configuration)
setConfiguration
- Parameters:
configuration- aChartConfigurationobject.
-
update
protected abstract void update() throws IOExceptionupdate
- Throws:
IOException- if any.
-
-