public static class BaseOutputReader.Options
extends java.lang.Object
#BaseOutputReader(Reader, Options)
, BaseDataReader.readAvailable()
, BaseDataReader.SleepingPolicy
and BaseOutputReader.processInput(char[], java.lang.StringBuilder, int)
for reference.Modifier and Type | Field and Description |
---|---|
static BaseOutputReader.Options |
BLOCKING |
static BaseOutputReader.Options |
NON_BLOCKING |
Constructor and Description |
---|
Options() |
Modifier and Type | Method and Description |
---|---|
static BaseOutputReader.Options |
forMostlySilentProcess() |
BaseDataReader.SleepingPolicy |
policy() |
boolean |
sendIncompleteLines() |
boolean |
splitToLines() |
static BaseOutputReader.Options |
withPolicy(BaseDataReader.SleepingPolicy policy) |
boolean |
withSeparators() |
public static final BaseOutputReader.Options BLOCKING
BaseDataReader.SleepingPolicy.BLOCKING
public static final BaseOutputReader.Options NON_BLOCKING
public BaseDataReader.SleepingPolicy policy()
public boolean splitToLines()
public boolean sendIncompleteLines()
public boolean withSeparators()
public static BaseOutputReader.Options withPolicy(BaseDataReader.SleepingPolicy policy)
public static BaseOutputReader.Options forMostlySilentProcess()