public class SplitUniqueFont extends AbstractCommon
特殊文字で文字を分解する。
入力レコードと出力レコードの数が同じ場合は、入力レコードのアイテム(TEXT)を分解し、
出力レコード(COLTEXT)のアイテムに格納する。
この動作はSplitColtextの動作となります。
入力レコードが1件で、出力レコードが複数の場合は、入力レコードのアイテムを分解し、
複数のアイテムに格納する。
この動作はSplitMultiItemsと同じ動作となります。
InputRecord | OutputRecord |
---|---|
|
|
Parameter |
制御文字の種類を指定
|
---|
InputRecord | OutputRecord |
---|---|
|
|
Parameter |
制御文字の種類を指定
|
---|
SplitColtext
,
SplitMultiItems
修飾子とタイプ | フィールドと説明 |
---|---|
static int |
SEPARATOR_CR
制御コード CRを示す定数です。
|
static int |
SEPARATOR_CR_LF_CRLF
制御コード CR、LF、CRLF全ての文字で分割をする処理モードの定数です。
|
static int |
SEPARATOR_CRLF
制御コード CRLFを示す定数です。
|
static int |
SEPARATOR_LF
制御コード LFを示す定数です。
|
static int |
SEPARATOR_TAB
TABを示す定数です。
|
static int |
SEPARATOR_YEN
¥を示す定数です。
|
static int |
SPLIT_MODE_COLUMN
COLTEXT分解モードです。
|
static int |
SPLIT_MODE_ITEM
アイテム分解モードです。
|
controlRecord, engineManager, errorMessage, executeType, id, inputRecord, logicalName, logicClassDelegate, outputRecord, physicalName, ruleParameter, ruleType, serverParameter, userConstant
CANCEL, 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
コンストラクタと説明 |
---|
SplitUniqueFont() |
修飾子とタイプ | メソッドと説明 |
---|---|
int |
execute()
処理を実行。
|
void |
exit()
終了処理。
|
int |
getIOParameter()
IOパラメータ取得。
|
protected int |
itemSplitMode()
アイテム分解モードです。
|
protected int |
loopInOutRecordSub(jp.ne.mki.wedge.run.interfaces.DataInterface inItem,
jp.ne.mki.wedge.run.interfaces.DataInterface outItem,
int index)
loopInOutRecord()から呼び出されるメソッドです。
|
static java.lang.String[] |
split(java.lang.String value,
int separatorType)
文字列を分解します。
|
static java.lang.String[] |
splitCrLfCrlf(java.lang.String value)
文字列を CR,LF,CRLFの三種類の制御文字で分解します。
|
getLogicClassType, getManager, terminate
callDispose, 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, loopOutRecordSub, 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, writeTraceLog
public static final int SPLIT_MODE_ITEM
public static final int SPLIT_MODE_COLUMN
public static final int SEPARATOR_TAB
public static final int SEPARATOR_YEN
public static final int SEPARATOR_CR
public static final int SEPARATOR_LF
public static final int SEPARATOR_CRLF
public static final int SEPARATOR_CR_LF_CRLF
public void exit()
CommonInterface
CommonInterface.exit()
public int getIOParameter()
CommonInterface
execute
の前に実行される。CommonInterface.getIOParameter()
public int execute()
CommonInterface
CommonInterface.execute()
protected int itemSplitMode()
protected int loopInOutRecordSub(jp.ne.mki.wedge.run.interfaces.DataInterface inItem, jp.ne.mki.wedge.run.interfaces.DataInterface outItem, int index)
AbstractBase
loopInOutRecordSub
クラス内 AbstractBase
loopInOutRecordSub(jp.ne.mki.wedge.run.interfaces.DataInterface,
jp.ne.mki.wedge.run.interfaces.DataInterface, int)
public static java.lang.String[] split(java.lang.String value, int separatorType)
value
- 分解元文字列separatorType
- 特殊文字コードpublic static java.lang.String[] splitCrLfCrlf(java.lang.String value)
value
- 分解元文字列