public class HalfCharConvert extends AbstractCommon
全角の文字を一、半角の文字に変換する。
変換対象は カタカナ、数字、アルファベット、記号変換となります。
変換できない文字(漢字等)の場合、そのまま出力します。
| InputRecord | OutputRecord |
|---|---|
|
|
| Parameter |
|---|
| 修飾子とタイプ | フィールドと説明 |
|---|---|
(package private) static char[] |
dakuonKanaFullChars |
(package private) static char[] |
dakuonKanaHalfChars |
(package private) static char[] |
handakuonKanaFullChars |
(package private) static char[] |
handakuonKanaHalfChars |
(package private) static boolean |
initFlag |
(package private) static char[] |
kanaFullChars |
(package private) static char[] |
kanaHalfChars |
(package private) static char[] |
symbolFullChars |
(package private) static char[] |
symbolHalfChars |
controlRecord, engineManager, errorMessage, executeType, id, inputRecord, logicalName, logicClassDelegate, outputRecord, physicalName, ruleParameter, ruleType, serverParameter, userConstantCANCEL, ERROR, EXECUTE_BOTH, EXECUTE_CLIENT, EXECUTE_DEBUG, EXECUTE_HTMLGATEWAY, EXECUTE_SERVER, EXECUTE_SERVERDC, IO_ERROR, IO_ERROR_EXECUTE_PARAMETER, IO_ERROR_IN, IO_ERROR_IO_MUST_SAME_COUNT, IO_ERROR_ITEM_TYPE, IO_ERROR_OUT, IO_ERROR_PARAMETER, NONE, OK, PARAMETER_DELIMITER, SKIP, USER_ERROR| コンストラクタと説明 |
|---|
HalfCharConvert() |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
static void |
convert(jp.ne.mki.wedge.run.interfaces.DataInterface inItem,
jp.ne.mki.wedge.run.interfaces.DataInterface outItem)
InItemの中身を全て半角文字列に変換し、OutItemに設定する。
|
static java.lang.String |
convert(java.lang.String value)
文字列を半角文字列変換する。
|
int |
execute()
パラメータの値を設定する処理を実行。
|
void |
exit()
終了処理。
|
int |
getIOParameter()
IOパラメータ取得。
|
protected int |
loopInOutRecordSub(jp.ne.mki.wedge.run.interfaces.DataInterface inItem,
jp.ne.mki.wedge.run.interfaces.DataInterface outItem,
int index)
loopInOutRecord()から呼び出されるメソッドです。
|
protected int |
loopOutRecordSub(jp.ne.mki.wedge.run.interfaces.DataInterface outItem,
int index)
loopOutRecord()から呼び出されるメソッドです。
|
getLogicClassType, getManager, terminatecallDispose, checkDelegate, createErrorMessage, createLogicErrorLogRecord, createLogicExceptionLogRecord, createLogicLogRecord, dataClearOfOutRecord, dataClearOfRecord, dispose, executeRule, getAppAccount, getAppAuthority, getAppMenu, getAppPassword, getClassErrorName, getClientId, getConnectionId, getConnectionPoolId, getConstantKeys, getConstantValue, getConstantValueAsStringArray, getControlRecord, getDbAccessCount, getDbErrorCode, getDbErrorMessage, getDbStatus, getDbUpdatedRecordCount, getEngineManager, getErrorMessage, getErrorMessage, getErrorMessage, getExceptionMessage, getExecuteType, getId, getInputRecordIterator, getInRecord, getInRecord, getInRecord, getInRecordCount, getInRecordList, getIpAddress_G_Index, getIpAddress_P_Index, getLogicalErrorName, getLogicalName, getLogicClassDelegate, getOutputHtml, getOutputRecordIterator, getOutRecord, getOutRecord, getOutRecord, getOutRecordCount, getOutRecordList, getPhysicalErrorName, getPhysicalName, getProjectId, getQueryEndLine, getQueryMaxCount, getQueryPageCount, getQueryStartLine, getReturnString, getRowSize, getRowSizeOfInRecord, getRuleParameter, getRuleParameters, getRuleParameters, getRuleParameters, getRuleType, getRuleTypeName, getServerMessage, getServerParameter, getServerStatus, getServerSubName, getServerSubRevision, getServerTran, getUpdateErrorLine, getUpdateTargetCount, getWebServerIpAddress, isExecutable, isJDK15, log, logDebug, logError, logError, logFatal, logFatal, logInfo, logTrace, logWarn, logWarn, loopInOutRecord, loopInRecord, loopInRecordSub, loopOutRecord, setControlRecord, setEngineManager, setErrorMessage, setErrorMessageMustInRecord, setErrorMessageMustOutRecord, setErrorMessageMustParamIsNumber, setExecuteType, setFatalError, setId, setInRecord, setLogicalName, setLogicClassDelegate, setOutputHtml, setOutRecord, setPhysicalName, setPropertyFromEngine, setRuleParameter, setRuleType, setServerParameter, setUserConstant, showErrorDialog, showErrorDialogAddRuleName, writeErrorLog, writeErrorLog, writeLog, writeLog, writeLog, writeTraceLogstatic char[] kanaFullChars
static char[] kanaHalfChars
static char[] dakuonKanaFullChars
static char[] dakuonKanaHalfChars
static char[] handakuonKanaFullChars
static char[] handakuonKanaHalfChars
static char[] symbolFullChars
static char[] symbolHalfChars
static boolean initFlag
public int getIOParameter()
execute の前に実行される。public int execute()
protected int loopOutRecordSub(jp.ne.mki.wedge.run.interfaces.DataInterface outItem,
int index)
AbstractBaseprotected int loopInOutRecordSub(jp.ne.mki.wedge.run.interfaces.DataInterface inItem,
jp.ne.mki.wedge.run.interfaces.DataInterface outItem,
int index)
AbstractBasepublic static void convert(jp.ne.mki.wedge.run.interfaces.DataInterface inItem,
jp.ne.mki.wedge.run.interfaces.DataInterface outItem)
inItem - 変換前文字列格納アイテムoutItem - 変換後文字列格納アイテムpublic static java.lang.String convert(java.lang.String value)
value - 変換前文字列public void exit()