com.ibm.jtopenlite.command
Class InputParameter
java.lang.Object
com.ibm.jtopenlite.command.Parameter
com.ibm.jtopenlite.command.InputParameter
- Direct Known Subclasses:
- IntegerInputParameter, StringInputParameter
public class InputParameter
- extends Parameter
Represents a program parameter to be used as input.
|
Constructor Summary |
InputParameter(byte[] inputData)
Constructs a parameter with the provided input data. |
|
Method Summary |
byte[] |
getInputData()
Returns the input data. |
int |
getInputLength()
Returns the input length. |
int |
getMaxLength()
Returns the maximum length of this parameter, which is the input length. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
InputParameter
public InputParameter(byte[] inputData)
- Constructs a parameter with the provided input data.
getInputData
public byte[] getInputData()
- Returns the input data.
- Overrides:
getInputData in class Parameter
getInputLength
public int getInputLength()
- Returns the input length.
- Overrides:
getInputLength in class Parameter
getMaxLength
public int getMaxLength()
- Returns the maximum length of this parameter, which is the input length.
- Overrides:
getMaxLength in class Parameter