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

uk.co.mruoc.file.property.ClasspathPropertyLoader Maven / Gradle / Ivy

package uk.co.mruoc.file.property;

import lombok.extern.slf4j.Slf4j;
import uk.co.mruoc.file.ClasspathInputStreamLoader;

import java.util.Properties;

@Slf4j
public class ClasspathPropertyLoader extends DefaultPropertyLoader {

    public ClasspathPropertyLoader() {
        super(new ClasspathInputStreamLoader());
    }

    @Override
    public Properties load(String path) {
        log.info("loading file from classpath using path {}", path);
        return super.load(path);
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy