|
||||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objecttapeutils.Parameters
This class holds the parameters for conversion.
Constructor Summary | |
---|---|
protected |
Parameters(java.lang.String[] keys,
int[] defaults)
Default constructor. |
protected |
Parameters(java.lang.String[] keys,
Parameters defaults)
Default constructor. |
Method Summary | |
---|---|
protected int |
getValue(int index)
Get the value at the given index. |
protected int |
getValue(int index,
boolean[] isDefault)
Get the value at the given index. |
protected void |
init(java.util.Properties props,
java.lang.String root)
Initialize values. |
protected boolean |
setValue(int index,
int newValue)
Set the value of a given property. |
protected boolean |
updatePropertyKeyRoot(java.lang.String newValue)
Set the property key root value. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
protected Parameters(java.lang.String[] keys, int[] defaults)
keys
- defaults
- protected Parameters(java.lang.String[] keys, Parameters defaults)
keys
- defaults
- Method Detail |
protected void init(java.util.Properties props, java.lang.String root)
props
- The properties.root
- The property key root.protected boolean updatePropertyKeyRoot(java.lang.String newValue)
newValue
-
protected int getValue(int index)
index
-
protected int getValue(int index, boolean[] isDefault)
index
- isDefault
- Indicates on output if the value is the default.
protected boolean setValue(int index, int newValue)
index
- newValue
-
|
||||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |