public class Text extends Model
| Constructor and Description |
|---|
Text()
Creates a new instance of
Text. |
Text(String text)
Creates a new instance of
Text. |
Text(String text,
int[] positions)
Creates a new instance of
Text. |
| Modifier and Type | Method and Description |
|---|---|
Fingerprint |
getFingerprint()
Gets the fingerprint.
|
String |
getText()
Gets the text.
|
toJson, toJson, toJsonBulkpublic Text()
Text.public Text(String text, int[] positions)
Text.text - the actual text of the elementpositions - the positions of the fingerprint representation of the textpublic String getText()
public Fingerprint getFingerprint()
Copyright © 2015. All rights reserved.