public class TextOptions
extends java.lang.Object
implements java.io.Serializable
Text filter would have the following options ([+] means default on). Segment text into paragraphs on:
Modifier and Type | Field and Description |
---|---|
static int |
SEGMENT_BREAKS
Text filter should segmentOn text into paragraphs on line breaks.
|
static int |
SEGMENT_EMPTYLINES
Defult.
|
static int |
SEGMENT_NEVER
Text filter should not segmentOn text into paragraphs.
|
Constructor and Description |
---|
TextOptions() |
Modifier and Type | Method and Description |
---|---|
int |
getSegmentOn()
Returns when Text filter should segmentOn text into paragraphs.
|
void |
setSegmentOn(int segmentOn)
Sets when Text filter should segmentOn text into paragraphs.
|
public static final int SEGMENT_BREAKS
public static final int SEGMENT_EMPTYLINES
public static final int SEGMENT_NEVER
public int getSegmentOn()
SEGMENT_BREAKS
, SEGMENT_EMPTYLINES
,
SEGMENT_NEVER
.public void setSegmentOn(int segmentOn)
segmentOn
- One of SEGMENT_BREAKS
, SEGMENT_EMPTYLINES
,
SEGMENT_NEVER
.