Package org.opennms.netmgt.config
Class DestinationPathFactory
- java.lang.Object
-
- org.opennms.netmgt.config.DestinationPathManager
-
- org.opennms.netmgt.config.DestinationPathFactory
-
public class DestinationPathFactory extends DestinationPathManager
DestinationPathFactory class.
- Version:
- $Id: $
- Author:
- ranger
-
-
Constructor Summary
Constructors Constructor Description DestinationPathFactory()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DestinationPathFactory
getInstance()
Getter for the fieldinstance
.static void
init()
initvoid
reload()
reloadprotected void
saveXML(String writerString)
saveXMLvoid
update()
update-
Methods inherited from class org.opennms.netmgt.config.DestinationPathManager
addPath, getPath, getPaths, getTargetCommands, getTargetList, parseXML, pathHasTarget, removePath, removePath, replacePath, saveCurrent
-
-
-
-
Method Detail
-
init
public static void init() throws IOException, FileNotFoundException
init
- Throws:
IOException
- if any.FileNotFoundException
- if any.
-
getInstance
public static DestinationPathFactory getInstance()
Getter for the field
instance
.- Returns:
- a
DestinationPathFactory
object.
-
reload
public void reload() throws IOException, FileNotFoundException
reload
- Throws:
IOException
- if any.FileNotFoundException
- if any.
-
saveXML
protected void saveXML(String writerString) throws IOException
saveXML
- Specified by:
saveXML
in classDestinationPathManager
- Parameters:
writerString
- aString
object.- Throws:
IOException
- if any.
-
update
public void update() throws IOException, FileNotFoundException
update
- Specified by:
update
in classDestinationPathManager
- Throws:
IOException
- if any.FileNotFoundException
- if any.
-
-