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

com.github.nicosensei.textbatch.utils.hosts.HostFileReader Maven / Gradle / Ivy

package com.github.nicosensei.textbatch.utils.hosts;

import com.github.nicosensei.textbatch.job.AbstractInputFileReader;
import com.github.nicosensei.textbatch.job.InputFileException;

public class HostFileReader extends AbstractInputFileReader {

    public HostFileReader(String inputFile) throws InputFileException {
        super(inputFile, 1, true);
    }

    public HostFileReader(String inputFile, int sectionSize)
    throws InputFileException {
        super(inputFile, sectionSize, true);
    }

    @Override
    protected HostFileLine parseLine(String line) {
        return new HostFileLine(line);
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy