public static class StreamLineIterator.Builder
extends java.lang.Object
Constructor and Description |
---|
Builder(DocumentIterator iterator) |
Builder(java.io.InputStream stream) |
Modifier and Type | Method and Description |
---|---|
StreamLineIterator |
build() |
StreamLineIterator.Builder |
setFetchSize(int linesToFetch) |
StreamLineIterator.Builder |
setPreProcessor(SentencePreProcessor preProcessor) |
public Builder(@NonNull java.io.InputStream stream)
public Builder(@NonNull DocumentIterator iterator)
public StreamLineIterator.Builder setFetchSize(int linesToFetch)
public StreamLineIterator.Builder setPreProcessor(SentencePreProcessor preProcessor)
public StreamLineIterator build()