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 DestinationPathFactorygetInstance()Getter for the fieldinstance.static voidinit()initvoidreload()reloadprotected voidsaveXML(java.lang.String writerString)saveXMLvoidupdate()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 java.io.IOException, java.io.FileNotFoundExceptioninit
- Throws:
java.io.IOException- if any.java.io.FileNotFoundException- if any.
-
getInstance
public static DestinationPathFactory getInstance()
Getter for the field
instance.- Returns:
- a
DestinationPathFactoryobject.
-
reload
public void reload() throws java.io.IOException, java.io.FileNotFoundExceptionreload
- Throws:
java.io.IOException- if any.java.io.FileNotFoundException- if any.
-
saveXML
protected void saveXML(java.lang.String writerString) throws java.io.IOExceptionsaveXML
- Specified by:
saveXMLin classDestinationPathManager- Parameters:
writerString- aStringobject.- Throws:
java.io.IOException- if any.
-
update
public void update() throws java.io.IOException, java.io.FileNotFoundExceptionupdate
- Specified by:
updatein classDestinationPathManager- Throws:
java.io.IOException- if any.java.io.FileNotFoundException- if any.
-
-