com.github.akurilov.commons.io.text.TextFileInput Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of java-commons Show documentation
Show all versions of java-commons Show documentation
Common functionality Java library
package com.github.akurilov.commons.io.text;
import java.io.IOException;
import java.nio.file.Files;
import java.nio.file.Path;
import java.nio.file.StandardOpenOption;
/**
Text file based lines input
*/
public class TextFileInput
extends LinesBufferedStreamInput {
public TextFileInput(final Path filePath)
throws IOException {
super(Files.newInputStream(filePath, StandardOpenOption.READ));
}
}