|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.perforce.p4java.impl.mapbased.rpc.packet.helper.RpcPacketFieldRule
com.perforce.p4java.impl.mapbased.rpc.packet.helper.RpcPacketFieldRangeRule
public class RpcPacketFieldRangeRule
Defines the rule for a range of fields with a start field (inclusive) and a stop field (non-inclusive).
| Field Summary | |
|---|---|
protected 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 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. |
| Fields inherited from class com.perforce.p4java.impl.mapbased.rpc.packet.helper.RpcPacketFieldRule |
|---|
FIELD_PATTERN, skipConversion, START_FIELD, STOP_FIELD |
| Constructor Summary | |
|---|---|
RpcPacketFieldRangeRule(String startField,
String stopField)
Constructor for creating a field range rule. |
|
| Method Summary | |
|---|---|
String |
getStartField()
Gets the start field. |
String |
getStopField()
Gets the stop field. |
void |
update(String fieldName)
Updates the conversion rule. |
| Methods inherited from class com.perforce.p4java.impl.mapbased.rpc.packet.helper.RpcPacketFieldRule |
|---|
getInstance, isSkipConversion |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected String startField
Note: this applies to the "RANGE" rule type only.
protected String stopField
Note: this applies to the "RANGE" rule type only.
| Constructor Detail |
|---|
public RpcPacketFieldRangeRule(String startField,
String stopField)
startField - the start field, not null.stopField - the stop field, not null.| Method Detail |
|---|
public void update(String fieldName)
update in class RpcPacketFieldRulefieldName - the field namepublic String getStartField()
public String getStopField()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||