public interface TextChunkCouncillor
| Modifier and Type | Method and Description |
|---|---|
boolean |
hasVeto(String text,
int splitBeforeIndex)
Vote for or against the split of a text.
|
boolean hasVeto(String text, int splitBeforeIndex)
Text will contains only parts that not have been splitted yet.
text - The text left to split.splitBeforeIndex - The index to split the text (never 0)true if the character on that index is not allowed
to be in a new line, false if the character on that
index is allowed to be in the next line.Copyright © 2017. All rights reserved.