Verwendungen von Klasse
com.github.hypfvieh.config.xml.XmlConfigBuilder
Packages, die XmlConfigBuilder verwenden
-
Verwendungen von XmlConfigBuilder in com.github.hypfvieh.config.xml
Methoden in com.github.hypfvieh.config.xml, die XmlConfigBuilder zurückgebenModifizierer und TypMethodeBeschreibungXmlConfigBuilder.setAllowKeyOverrideFromEnvironment(boolean _allowOverride) Set this to true to allow the user to override config parameters using system properties.
This means, if key foo/bar is available in config and a environment variable of the same name
exists, the value of the environment variable is used, instead of the value in config.XmlConfigBuilder.setInputFile(File _inputFile, SearchOrder... _order) Set input file used for reading configuration.XmlConfigBuilder.setInputFile(String _inputFile, SearchOrder... _order) Set input file used for reading configuration.XmlConfigBuilder.setInputStream(InputStream _inputStream) SetInputStreamused to read configuration file.XmlConfigBuilder.setKeyDelimiter(String _delimiterKey) Set the delimiter used to delimit XML nodes.
By default "/" is used, which means all pathes have to be expressed like:
foo/bar/bazXmlConfigBuilder.setOutputFile(File _outputFile) Set output file used for saving.XmlConfigBuilder.setOutputFile(String _outputFile) Set output file used for saving.XmlConfigBuilder.setOutputStream(OutputStream _outputStream) SetOutputStreamused to save configuration file.XmlConfigBuilder.setSkipRoot(boolean _skipRoot) Set this to true to ignore the first level of nodes inside the config.
Usually each XML is starting with a single node (e.g.XmlConfigBuilder.setXmlErrorHandler(ErrorHandler _xmlErrorHandler) Set theErrorHandlerused by the XML parser to handle XML errors.
By default a 'quiet' handler is used (suppressing all errors).
Use null here to disable validation.