com.etasoft.trans.transaction
Class axInputParameters

java.lang.Object
  extended bycom.etasoft.trans.transaction.axInputParameters

public class axInputParameters
extends java.lang.Object

Input parameters, wrapper based on Properties to enable loading and saving to/from files.


Constructor Summary
axInputParameters()
           
 
Method Summary
 void add(axMapInputParameters inputParams)
          Add parameters from defaults but do not override default values.
 void addOver(java.lang.String[] args, boolean ignoreFirst)
          Add parameters from command line and override existing default values.
 void appendOutputData(char[] cbuf)
           
 void containsKey(java.lang.String key)
          Contains specific property.
 char[] getInputBuffer()
           
 java.lang.StringBuffer getOutputBuffer()
           
 java.lang.String getProperty(java.lang.String key, java.lang.String defaultValue)
          Searches for the property with the specified key in this property list.
 axMapSpecialInstruction getSpecialInstruction()
          Get special instruction.
 void load(java.io.InputStream inStream)
          Reads a property list (key and element pairs) from the input stream.
 void setInputBuffer(char[] buffer)
           
 void setOutputBuffer(java.lang.StringBuffer buffer)
           
 void setProperty(java.lang.String key, java.lang.String value)
          Calls the Hashtable method put.
 void setSpecialInstruction(axMapSpecialInstruction specialInstruction)
          Set special instruction.
 void store(java.io.OutputStream out, java.lang.String header)
          Writes this property list (key and element pairs) in this Properties table to the output stream in a format suitable for loading into a Properties table using the load method.
 java.util.ArrayList toArray()
          Convert back to command line values.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

axInputParameters

public axInputParameters()
Method Detail

getSpecialInstruction

public axMapSpecialInstruction getSpecialInstruction()
Get special instruction.


setSpecialInstruction

public void setSpecialInstruction(axMapSpecialInstruction specialInstruction)
Set special instruction.


getInputBuffer

public char[] getInputBuffer()

setInputBuffer

public void setInputBuffer(char[] buffer)

getOutputBuffer

public java.lang.StringBuffer getOutputBuffer()

setOutputBuffer

public void setOutputBuffer(java.lang.StringBuffer buffer)

appendOutputData

public void appendOutputData(char[] cbuf)

toArray

public java.util.ArrayList toArray()
Convert back to command line values.


getProperty

public java.lang.String getProperty(java.lang.String key,
                                    java.lang.String defaultValue)
Searches for the property with the specified key in this property list.


setProperty

public void setProperty(java.lang.String key,
                        java.lang.String value)
Calls the Hashtable method put.


containsKey

public void containsKey(java.lang.String key)
Contains specific property.


load

public void load(java.io.InputStream inStream)
          throws java.io.IOException
Reads a property list (key and element pairs) from the input stream.

Throws:
java.io.IOException

store

public void store(java.io.OutputStream out,
                  java.lang.String header)
           throws java.io.IOException
Writes this property list (key and element pairs) in this Properties table to the output stream in a format suitable for loading into a Properties table using the load method.

Throws:
java.io.IOException

add

public void add(axMapInputParameters inputParams)
Add parameters from defaults but do not override default values.


addOver

public void addOver(java.lang.String[] args,
                    boolean ignoreFirst)
             throws axException
Add parameters from command line and override existing default values.

Throws:
axException