public class RpcPacketFieldRangeRule extends RpcPacketFieldRule
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
startField
The start field (inclusive) marking the beginning of a series of fields
which the field values (bytes) will not be converted to strings.
|
protected java.lang.String |
stopField
The stop field (non-inclusive) marking the end of a series of fields
which the field values (bytes) will not be converted to strings.
|
FIELD_PATTERN, skipConversion, START_FIELD, STOP_FIELD
Constructor and Description |
---|
RpcPacketFieldRangeRule(java.lang.String startField,
java.lang.String stopField)
Constructor for creating a field range rule.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getStartField()
Gets the start field.
|
java.lang.String |
getStopField()
Gets the stop field.
|
void |
update(java.lang.String fieldName)
Updates the conversion rule.
|
getInstance, isSkipConversion
protected java.lang.String startField
Note: this applies to the "RANGE" rule type only.
protected java.lang.String stopField
Note: this applies to the "RANGE" rule type only.
public RpcPacketFieldRangeRule(java.lang.String startField, java.lang.String stopField)
startField
- the start field, not null.stopField
- the stop field, not null.public void update(java.lang.String fieldName)
update
in class RpcPacketFieldRule
fieldName
- the field namepublic java.lang.String getStartField()
public java.lang.String getStopField()