protected static class UnifiedHighlighter.LimitedStoredFieldVisitor extends StoredFieldVisitor
StoredFieldVisitor.Status| Modifier and Type | Field and Description |
|---|---|
protected int |
currentField |
protected java.lang.String[] |
fields |
protected int |
maxLength |
protected java.lang.CharSequence[] |
values |
protected char |
valueSeparator |
| Constructor and Description |
|---|
LimitedStoredFieldVisitor(java.lang.String[] fields,
char valueSeparator,
int maxLength) |
| Modifier and Type | Method and Description |
|---|---|
StoredFieldVisitor.Status |
needsField(FieldInfo fieldInfo)
Hook before processing a field.
|
void |
stringField(FieldInfo fieldInfo,
byte[] byteValue)
Process a string field; the provided byte[] value is a UTF-8 encoded string value.
|
binaryField, doubleField, floatField, intField, longFieldprotected final java.lang.String[] fields
protected final char valueSeparator
protected final int maxLength
protected java.lang.CharSequence[] values
protected int currentField
public LimitedStoredFieldVisitor(java.lang.String[] fields,
char valueSeparator,
int maxLength)
public void stringField(FieldInfo fieldInfo, byte[] byteValue) throws java.io.IOException
StoredFieldVisitorstringField in class StoredFieldVisitorjava.io.IOExceptionpublic StoredFieldVisitor.Status needsField(FieldInfo fieldInfo) throws java.io.IOException
StoredFieldVisitorStoredFieldVisitor.Status representing whether
they need that particular field or not, or to stop processing
entirely.needsField in class StoredFieldVisitorjava.io.IOExceptionCopyright © 2000–2025 The Apache Software Foundation. All rights reserved.