List of usage examples for org.apache.mahout.common.iterator FileLineIterator FileLineIterator
public FileLineIterator(InputStream is, Charset encoding, boolean skipFirstLine) throws IOException
From source file:org.plista.kornakapi.core.io.CSVCandidateFileIterator.java
License:Apache License
public CSVCandidateFileIterator(InputStream in) throws IOException { lineIterator = new FileLineIterator(in, Charsets.UTF_8, false); mutableCandidate = new MutableCandidate(); }
From source file:org.plista.kornakapi.core.io.CSVPreferenceFileIterator.java
License:Apache License
public CSVPreferenceFileIterator(InputStream in) throws IOException { lineIterator = new FileLineIterator(in, Charsets.UTF_8, false); mutablePreference = new MutablePreference(); }