uk.co.mruoc.file.BufferedReaderLoader 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;
import java.io.BufferedReader;
import java.io.InputStreamReader;
import lombok.RequiredArgsConstructor;
@RequiredArgsConstructor
public class BufferedReaderLoader {
private final InputStreamLoader streamLoader;
public BufferedReader load(String path) {
InputStreamReader streamReader = new InputStreamReader(streamLoader.load(path));
return new BufferedReader(streamReader);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy