FragListBuilder
public class SimpleFragListBuilder extends Object implements FragListBuilder
FragListBuilder
.Modifier and Type | Field | Description |
---|---|---|
static int |
MARGIN_DEFAULT |
|
static int |
MIN_FRAG_CHAR_SIZE_FACTOR |
Constructor | Description |
---|---|
SimpleFragListBuilder() |
|
SimpleFragListBuilder(int margin) |
Modifier and Type | Method | 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 fragmentCopyright © 2000-2018 Apache Software Foundation. All Rights Reserved.