com.ibm.eNetwork.beans.HOD.cpc
Class ActInfo

java.lang.Object
  |
  +--com.ibm.eNetwork.beans.HOD.cpc.ActInfo

public class ActInfo
extends java.lang.Object

The ActInfo class acts as a convenience structure to package the codepage conversion attributes to be passed to a codepage Converter instance. Details about the packaged attributes are to be found in Converter document.

Below a table of conversion parameters passed with the class:

Properties

Parameter Name Description Type Default
InputFileName Defines name of input file. String ""
OutputFileName Defines name of output file. String ""
InputPathName Defines name of output file with full path. String ""
OutputPathName Defines name of output file with full path. String ""
InputCodepage Defines codepage of input file. String ""
OutputCodepage Defines codepage of output file. String ""
InputTextType Defines if input text type is Logical (Implicit).The parameter is used for Arabic and Hebrew codepages only. boolean false
OutputTextType Defines if output text type is Logical (Implicit).The parameter is used for Arabic and Hebrew codepages only. boolean false
InputTextOrient Defines if input text orientation is right-to-left. The parameter is used for Arabic and Hebrew codepages only. boolean false
OutputTextOrient Defines if output text orientation is right-to-left. The parameter is used for Arabic and Hebrew codepages only. boolean false
LamAlef Defines if LamAlef processing should be performed. The parameter is used for Arabic codepages only. boolean false
numeralShaping Defines numeral shaping for output file. The parameter is used for Arabic codepages only.The value should be one of the correct values of Session NumeralShaping property. String numeralShaping
recordLength Defines length of fixed record. The parameter is used for OS/390 and OS/400 host types only. int 80
inputHostType Defines host type for input file. The value should be one of the constants defined in the Converter class. String Converter.WIN
outputHostType Defines host type for output file. The value should be one of the constants defined in the Converter class. String Converter.WIN
SymSwap Defines if Symmetric Swapping should be performed. The parameter is used for Arabic and Hebrew codepages only. boolean false
BinMode Defines if converted text was downloaded in Binary mode amd end-of-line tag should be processed. boolean false
CPCLanguage Defines the language selected for conversion. String ""


Constructor Summary
ActInfo()
          Default constructor for ActInfo.
ActInfo(ActInfo arg)
          The Copy constructor.
 
Method Summary
 boolean getBinMode()
          Returns the value of BinMode
 java.lang.String getInputCodepage()
          Returns the value of InputCodepage
 java.lang.String getInputFileName()
          Returns the value of InputFileName
 java.lang.String getInputHostType()
          Returns the value of inputHostType
 java.lang.String getInputPathName()
          Returns the value of InputPathName
 boolean getInputTextOrient()
          Returns the value of InputTextOrient
 boolean getInputTextType()
          Returns the value of InputTextType
 boolean getLamAlef()
          Returns the value of LamAlef
 java.lang.String getLanguage()
          Gets the value of CPCLanguage
 java.lang.String getNumeralShaping()
          Returns the value of numeralShaping
 java.lang.String getOutputCodepage()
          Returns the value of OutputCodepage
 java.lang.String getOutputFileName()
          Returns the value of OutputFileName
 java.lang.String getOutputHostType()
          Returns the value of outputHostType
 java.lang.String getOutputPathName()
          Returns the value of OutputPathName
 boolean getOutputTextOrient()
          Returns the value of OutputTextOrient
 boolean getOutputTextType()
          Returns the value of OutputTextType
 int getRecordLength()
          Returns the value of recordLength
 boolean getSymSwap()
          Returns the value of SymSwap
 void setBinMode(boolean value)
          Sets the value of BinMode
 void setInputCodepage(java.lang.String value)
          Sets the value of InputCodepage
 void setInputFileName(java.lang.String value)
          Sets the value of InputFileName
 void setInputHostType(java.lang.String value)
          Sets the value of inputHostType
 void setInputPathName(java.lang.String value)
          Sets the value of InputPathName
 void setInputTextOrient(boolean value)
          Sets the value of InputTextOrient
 void setInputTextType(boolean value)
          Sets the value of InputTextType
 void setLamAlef(boolean value)
          Sets the value of LamAlef
 void setLanguage(java.lang.String lang)
          Sets the value of CPCLanguage
 void setNumeralShaping(java.lang.String value)
          Sets the value of numeralShaping
 void setOutputCodepage(java.lang.String value)
          Sets the value of OutputCodepage
 void setOutputFileName(java.lang.String value)
          Sets the value of OutputFileName
 void setOutputHostType(java.lang.String value)
          Sets the value of outputHostType
 void setOutputPathName(java.lang.String value)
          Sets the value of OutputPathName
 void setOutputTextOrient(boolean value)
          Sets the value of OutputTextOrient
 void setOutputTextType(boolean value)
          Sets the value of OutputTextType
 void setRecordLength(int value)
          Sets the value of recordLength
 void setSymSwap(boolean value)
          Sets the value of SymSwap
 void update(ActInfo a)
          Copies the data from another ActInfo instance into this instance.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ActInfo

public ActInfo()
Default constructor for ActInfo.

ActInfo

public ActInfo(ActInfo arg)
The Copy constructor.
Parameters:
arg - Source instance of ActInfo.
Method Detail

update

public void update(ActInfo a)
Copies the data from another ActInfo instance into this instance.
Parameters:
a - source ActInfo instance.

setInputFileName

public void setInputFileName(java.lang.String value)
Sets the value of InputFileName

getInputFileName

public java.lang.String getInputFileName()
Returns the value of InputFileName

setOutputFileName

public void setOutputFileName(java.lang.String value)
Sets the value of OutputFileName

getOutputFileName

public java.lang.String getOutputFileName()
Returns the value of OutputFileName

setInputPathName

public void setInputPathName(java.lang.String value)
Sets the value of InputPathName

getInputPathName

public java.lang.String getInputPathName()
Returns the value of InputPathName

setOutputPathName

public void setOutputPathName(java.lang.String value)
Sets the value of OutputPathName

getOutputPathName

public java.lang.String getOutputPathName()
Returns the value of OutputPathName

setInputCodepage

public void setInputCodepage(java.lang.String value)
Sets the value of InputCodepage

getInputCodepage

public java.lang.String getInputCodepage()
Returns the value of InputCodepage

setOutputCodepage

public void setOutputCodepage(java.lang.String value)
Sets the value of OutputCodepage

getOutputCodepage

public java.lang.String getOutputCodepage()
Returns the value of OutputCodepage

setInputTextType

public void setInputTextType(boolean value)
Sets the value of InputTextType

getInputTextType

public boolean getInputTextType()
Returns the value of InputTextType

setInputTextOrient

public void setInputTextOrient(boolean value)
Sets the value of InputTextOrient

getInputTextOrient

public boolean getInputTextOrient()
Returns the value of InputTextOrient

setOutputTextType

public void setOutputTextType(boolean value)
Sets the value of OutputTextType

getOutputTextType

public boolean getOutputTextType()
Returns the value of OutputTextType

setOutputTextOrient

public void setOutputTextOrient(boolean value)
Sets the value of OutputTextOrient

getOutputTextOrient

public boolean getOutputTextOrient()
Returns the value of OutputTextOrient

setLamAlef

public void setLamAlef(boolean value)
Sets the value of LamAlef

getLamAlef

public boolean getLamAlef()
Returns the value of LamAlef

setNumeralShaping

public void setNumeralShaping(java.lang.String value)
Sets the value of numeralShaping

getNumeralShaping

public java.lang.String getNumeralShaping()
Returns the value of numeralShaping

setRecordLength

public void setRecordLength(int value)
Sets the value of recordLength

getRecordLength

public int getRecordLength()
Returns the value of recordLength

setInputHostType

public void setInputHostType(java.lang.String value)
Sets the value of inputHostType

getInputHostType

public java.lang.String getInputHostType()
Returns the value of inputHostType

setOutputHostType

public void setOutputHostType(java.lang.String value)
Sets the value of outputHostType

getOutputHostType

public java.lang.String getOutputHostType()
Returns the value of outputHostType

setSymSwap

public void setSymSwap(boolean value)
Sets the value of SymSwap

getSymSwap

public boolean getSymSwap()
Returns the value of SymSwap

setBinMode

public void setBinMode(boolean value)
Sets the value of BinMode

getBinMode

public boolean getBinMode()
Returns the value of BinMode

setLanguage

public void setLanguage(java.lang.String lang)
Sets the value of CPCLanguage

getLanguage

public java.lang.String getLanguage()
Gets the value of CPCLanguage