/** * Load the properties in the given file. * * @param resourceName the file name. */ public void load(final String resourceName) { load(resourceName, PropertyFileConfiguration.class); }
/** * Load the properties in the given file. * * @param resourceName the file name. */ public void load(final String resourceName) { load(resourceName, PropertyFileConfiguration.class); }
public void load(final String resourceName) { load(resourceName, PropertyFileConfiguration.class); }
final PropertyFileConfiguration rootProperty = new PropertyFileConfiguration(); rootProperty.load(staticConfig, getClass()); globalConfig.insertConfiguration(rootProperty); globalConfig.insertConfiguration( new PropertyFileConfiguration(); final InputStream in = url.openStream(); baseProperty.load(in); in.close(); configs.add(baseProperty);
final PropertyFileConfiguration rootProperty = new PropertyFileConfiguration(); rootProperty.load(staticConfig, getClass()); globalConfig.insertConfiguration(rootProperty); globalConfig.insertConfiguration( new PropertyFileConfiguration(); final InputStream in = url.openStream(); baseProperty.load(in); in.close(); configs.add(baseProperty);
final PropertyFileConfiguration rootProperty = new PropertyFileConfiguration(); rootProperty.load(staticConfig, getClass()); globalConfig.insertConfiguration(rootProperty); globalConfig.insertConfiguration( new PropertyFileConfiguration(); final InputStream in = url.openStream(); baseProperty.load(in); in.close(); configs.add(baseProperty);