T - type of object returnedpublic abstract class FullReadLines<T> extends Object
| Modifier and Type | Field and Description |
|---|---|
protected String |
description |
protected byte |
priority |
| Constructor and Description |
|---|
FullReadLines(String description,
ICharacterStream.Readable.Buffered stream,
byte priority,
IO.OperationType closeStreamAtEnd)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
protected abstract T |
generateResult() |
String |
getSourceDescription() |
protected abstract void |
processLine(UnprotectedStringBuffer line) |
AsyncSupplier<T,Exception> |
start()
Start to read lines in a separate task.
|
protected String description
protected byte priority
public FullReadLines(String description, ICharacterStream.Readable.Buffered stream, byte priority, IO.OperationType closeStreamAtEnd)
public String getSourceDescription()
public final AsyncSupplier<T,Exception> start()
protected abstract void processLine(UnprotectedStringBuffer line) throws Exception
ExceptionCopyright © 2019. All rights reserved.