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

uk.co.mruoc.file.line.ClasspathFileLineLoader 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.line;

import java.util.Collection;
import lombok.extern.slf4j.Slf4j;
import uk.co.mruoc.file.ClasspathBufferedReaderLoader;

@Slf4j
public class ClasspathFileLineLoader extends DefaultFileLineLoader {

    public ClasspathFileLineLoader() {
        super(new ClasspathBufferedReaderLoader());
    }

    @Override
    public Collection loadLines(String path) {
        log.debug("loading file lines from classpath using path {}", path);
        return super.loadLines(path);
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy