uk.co.mruoc.file.property.FileSystemPropertyLoader Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of file-loader Show documentation
Show all versions of file-loader Show documentation
Code library to easily load files and file from the classpath or file system file
package uk.co.mruoc.file.property;
import lombok.extern.slf4j.Slf4j;
import uk.co.mruoc.file.FileSystemInputStreamLoader;
import java.util.Properties;
@Slf4j
public class FileSystemPropertyLoader extends DefaultPropertyLoader {
public FileSystemPropertyLoader() {
super(new FileSystemInputStreamLoader());
}
@Override
public Properties load(String path) {
log.info("loading file from file system path {}", path);
return super.load(path);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy