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

uk.co.mruoc.properties.FileSystemPropertyLoader Maven / Gradle / Ivy

package uk.co.mruoc.properties;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

import java.util.Properties;

public class FileSystemPropertyLoader extends DefaultPropertyLoader {

    private static final Logger LOGGER = LoggerFactory.getLogger(FileSystemPropertyLoader.class);

    public FileSystemPropertyLoader() {
        super(new FileSystemInputStreamLoader());
    }

    @Override
    public Properties load(String path) {
        LOGGER.info("loading properties from file system path " + path);
        return super.load(path);
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy