jet.util
Interface ImportParamValues


public interface ImportParamValues

This interface provides a callback method for you. If you make a class that implements this interface and defines class name in the report, before inputing parameters at engine the class that you defined in the report is first constructed then the method in this interface is called with parameters' name. The prompt values that returned by callback method are put in the list of each parameter prompt value list.


Method Summary
 java.util.Hashtable promptValues(java.lang.String[] paramsName)
          A callback method.
 

Method Detail

promptValues

java.util.Hashtable promptValues(java.lang.String[] paramsName)
A callback method. You should implement it in your class.

Parameters:
paramsValue - a String array contains the parameters' name.
Returns:
Hashtable the keys are parameter's name that are used in the report, the values are Vector objects and contains the parameter values. The elements' type of values Vector is String