public class SimpleFragListBuilder extends Object implements FragListBuilder
FragListBuilder
.Modifier and Type | Field and Description |
---|---|
static int |
MARGIN_DEFAULT |
static int |
MIN_FRAG_CHAR_SIZE_FACTOR |
Constructor and Description |
---|
SimpleFragListBuilder() |
SimpleFragListBuilder(int margin) |
Modifier and Type | Method and Description |
---|---|
FieldFragList |
createFieldFragList(FieldPhraseList fieldPhraseList,
int fragCharSize)
create a FieldFragList.
|
public static final int MARGIN_DEFAULT
public static final int MIN_FRAG_CHAR_SIZE_FACTOR
public SimpleFragListBuilder(int margin)
public SimpleFragListBuilder()
public FieldFragList createFieldFragList(FieldPhraseList fieldPhraseList, int fragCharSize)
FragListBuilder
createFieldFragList
in interface FragListBuilder
fieldPhraseList
- FieldPhraseList objectfragCharSize
- the length (number of chars) of a fragment