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

uk.co.mruoc.file.content.FileSystemFileContentLoader Maven / Gradle / Ivy

Go to download

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.FileSystemInputStreamLoader;

@Slf4j
public class FileSystemFileContentLoader extends DefaultFileContentLoader {

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

    @Override
    public String loadContent(String path) {
        log.debug("loading file content from file system path {}", path);
        return super.loadContent(path);
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy