Package com.artenum.rosetta.util
Class ConfigurationBuilder
- java.lang.Object
-
- com.artenum.rosetta.util.ConfigurationBuilder
-
public class ConfigurationBuilder extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description private static class
ConfigurationBuilder.ConfigurationHandler
-
Field Summary
Fields Modifier and Type Field Description protected static java.lang.String
ACTION
protected static java.lang.String
ACTION_MAPPING
protected static java.lang.String
CLASSNAME
protected static java.lang.String
FALSE
protected static java.lang.String
KEY_MAPPING
protected static java.lang.String
MASK
protected static java.lang.String
METHOD_GET
protected static java.lang.String
METHOD_IS
protected static java.lang.String
NAME
protected static java.lang.String
PRIMITIVE_TYPE_NAME_BOOLEAN
protected static java.lang.String
PRIMITIVE_TYPE_NAME_DOUBLE
protected static java.lang.String
PRIMITIVE_TYPE_NAME_INT
protected static java.lang.String
TRUE
protected static java.lang.String
USE_CACHE
protected static java.lang.String
VALUE
private static java.lang.String
version
-
Constructor Summary
Constructors Constructor Description ConfigurationBuilder()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.lang.Object
buildConfiguration(java.lang.Class<?>[] resultClass, java.lang.String fileToLoad)
static ConsoleConfiguration
buildConfiguration(java.lang.String fileToLoad)
static java.lang.String
getVersion()
-
-
-
Field Detail
-
VALUE
protected static final java.lang.String VALUE
- See Also:
- Constant Field Values
-
NAME
protected static final java.lang.String NAME
- See Also:
- Constant Field Values
-
ACTION
protected static final java.lang.String ACTION
- See Also:
- Constant Field Values
-
MASK
protected static final java.lang.String MASK
- See Also:
- Constant Field Values
-
CLASSNAME
protected static final java.lang.String CLASSNAME
- See Also:
- Constant Field Values
-
USE_CACHE
protected static final java.lang.String USE_CACHE
- See Also:
- Constant Field Values
-
KEY_MAPPING
protected static final java.lang.String KEY_MAPPING
- See Also:
- Constant Field Values
-
ACTION_MAPPING
protected static final java.lang.String ACTION_MAPPING
- See Also:
- Constant Field Values
-
TRUE
protected static final java.lang.String TRUE
- See Also:
- Constant Field Values
-
FALSE
protected static final java.lang.String FALSE
- See Also:
- Constant Field Values
-
METHOD_GET
protected static final java.lang.String METHOD_GET
- See Also:
- Constant Field Values
-
METHOD_IS
protected static final java.lang.String METHOD_IS
- See Also:
- Constant Field Values
-
PRIMITIVE_TYPE_NAME_INT
protected static final java.lang.String PRIMITIVE_TYPE_NAME_INT
- See Also:
- Constant Field Values
-
PRIMITIVE_TYPE_NAME_DOUBLE
protected static final java.lang.String PRIMITIVE_TYPE_NAME_DOUBLE
- See Also:
- Constant Field Values
-
PRIMITIVE_TYPE_NAME_BOOLEAN
protected static final java.lang.String PRIMITIVE_TYPE_NAME_BOOLEAN
- See Also:
- Constant Field Values
-
version
private static java.lang.String version
-
-
Method Detail
-
getVersion
public static java.lang.String getVersion()
-
buildConfiguration
public static java.lang.Object buildConfiguration(java.lang.Class<?>[] resultClass, java.lang.String fileToLoad) throws java.lang.IllegalArgumentException, org.xml.sax.SAXException, java.io.IOException, javax.xml.parsers.ParserConfigurationException
- Throws:
java.lang.IllegalArgumentException
org.xml.sax.SAXException
java.io.IOException
javax.xml.parsers.ParserConfigurationException
-
buildConfiguration
public static ConsoleConfiguration buildConfiguration(java.lang.String fileToLoad) throws java.lang.IllegalArgumentException, org.xml.sax.SAXException, java.io.IOException, javax.xml.parsers.ParserConfigurationException
- Throws:
java.lang.IllegalArgumentException
org.xml.sax.SAXException
java.io.IOException
javax.xml.parsers.ParserConfigurationException
-
-