public class TextFragment extends Object
| Constructor and Description | 
|---|
| TextFragment(CharSequence markedUpText,
            int textStartPos,
            int fragNum) | 
| Modifier and Type | Method and Description | 
|---|---|
| boolean | follows(TextFragment fragment) | 
| int | getFragNum() | 
| float | getScore() | 
| void | merge(TextFragment frag2) | 
| String | toString() | 
public TextFragment(CharSequence markedUpText, int textStartPos, int fragNum)
public float getScore()
public void merge(TextFragment frag2)
frag2 - Fragment to be merged into this onepublic boolean follows(TextFragment fragment)
public int getFragNum()
Copyright © 2000-2017 Apache Software Foundation. All Rights Reserved.