use of jodd.props.Props in project jodd by oblac.
the class Madvoc method loadMadvocParams.
/**
* Loads Madvoc parameters. New {@link Props} is created from the classpath.
*/
protected Props loadMadvocParams(final String[] patterns) {
if (log.isInfoEnabled()) {
log.info("Loading Madvoc parameters from: " + Converter.get().toString(patterns));
}
try {
final Props props = new Props();
loadFromClasspath(props, patterns);
return props;
} catch (final Exception ex) {
throw new MadvocException("Unable to load Madvoc parameters from: " + Converter.get().toString(patterns) + ".properties': " + ex.toString(), ex);
}
}
Aggregations