All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.emc.mongoose.base.config.BundledDefaultsProvider Maven / Gradle / Ivy

package com.emc.mongoose.base.config;

import static com.emc.mongoose.base.Constants.APP_NAME;
import static com.emc.mongoose.base.Constants.PATH_DEFAULTS;

import com.github.akurilov.confuse.io.yaml.YamlConfigProviderBase;
import java.io.InputStream;

public class BundledDefaultsProvider extends YamlConfigProviderBase {

	@Override
	protected final InputStream configInputStream() {
		return getClass().getResourceAsStream("/" + PATH_DEFAULTS);
	}

	@Override
	public final String id() {
		return APP_NAME;
	}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy