Class XmpConfigFactory
- java.lang.Object
-
- org.opennms.netmgt.protocols.xmp.config.XmpConfigFactory
-
public class XmpConfigFactory extends Object
-
-
Constructor Summary
Constructors Constructor Description XmpConfigFactory(Reader rdr)
Constructor for XmpConfigFactory.XmpConfigFactory(String configFile)
Constructor for XmpConfigFactory.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static XmpConfigFactory
getInstance()
Getter for the fieldinstance
.XmpConfig
getXmpConfig()
getXmpConfigstatic void
init()
initstatic void
setInstance(XmpConfigFactory instance)
-
-
-
Constructor Detail
-
XmpConfigFactory
public XmpConfigFactory(String configFile) throws IOException
Constructor for XmpConfigFactory.
- Parameters:
configFile
- aString
object.- Throws:
IOException
- if any.
-
XmpConfigFactory
public XmpConfigFactory(Reader rdr) throws IOException
Constructor for XmpConfigFactory.
- Parameters:
rdr
- aReader
object.- Throws:
IOException
- if any.
-
-
Method Detail
-
init
public static void init() throws IOException, FileNotFoundException
init
- Throws:
IOException
- if any.FileNotFoundException
- if any.
-
getInstance
public static XmpConfigFactory getInstance()
Getter for the field
instance
.- Returns:
- a
XmpConfigFactory
object.
-
setInstance
public static void setInstance(XmpConfigFactory instance)
-
-