uk.co.mruoc.file.content.ClasspathFileContentLoader 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
The newest version!
package uk.co.mruoc.file.content;
import lombok.extern.slf4j.Slf4j;
import uk.co.mruoc.file.ClasspathInputStreamLoader;
@Slf4j
public class ClasspathFileContentLoader extends DefaultFileContentLoader {
public ClasspathFileContentLoader() {
super(new ClasspathInputStreamLoader());
}
@Override
public String loadContent(String path) {
log.debug("loading file content from classpath using path {}", path);
return super.loadContent(path);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy