/** * Creates a {@link FileLineIterator} over a given file, using the given encoding. * * @throws java.io.FileNotFoundException if the file does not exist * @throws IOException if the file cannot be read */ public FileLineIterator(File file, Charset encoding, boolean skipFirstLine) throws IOException { this(getFileInputStream(file), encoding, skipFirstLine); }
/** Creates a {@link FileLineIterable} over a given file, using the given encoding. */ public FileLineIterable(File file, Charset encoding, boolean skipFirstLine) throws IOException { this(FileLineIterator.getFileInputStream(file), encoding, skipFirstLine); }
/** Creates a {@link FileLineIterable} over a given file, using the given encoding. */ public FileLineIterable(File file, Charset encoding, boolean skipFirstLine) throws IOException { this(FileLineIterator.getFileInputStream(file), encoding, skipFirstLine); }
/** * Creates a {@link FileLineIterator} over a given file, using the given encoding. * * @throws java.io.FileNotFoundException if the file does not exist * @throws IOException if the file cannot be read */ public FileLineIterator(File file, Charset encoding, boolean skipFirstLine) throws IOException { this(getFileInputStream(file), encoding, skipFirstLine); }
/** * Creates a {@link FileLineIterator} over a given file, using the given encoding. * * @throws java.io.FileNotFoundException if the file does not exist * @throws IOException if the file cannot be read */ public FileLineIterator(File file, Charset encoding, boolean skipFirstLine) throws IOException { this(getFileInputStream(file), encoding, skipFirstLine); }
/** Creates a {@link FileLineIterable} over a given file, using the given encoding. */ public FileLineIterable(File file, Charset encoding, boolean skipFirstLine) throws IOException { this(FileLineIterator.getFileInputStream(file), encoding, skipFirstLine); }