|
|||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | ||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | ||||||||
java.lang.Objectjp.ne.mki.wedge.rule.base.AbstractBase
jp.ne.mki.wedge.rule.base.AbstractCommon
jp.ne.mki.wedge.rule.common.convert.HalfCharConvert
public class HalfCharConvert
全角の文字を一、半角の文字に変換する。
変換対象は カタカナ、数字、アルファベット、記号変換となります。
変換できない文字(漢字等)の場合、そのまま出力します。
| 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
|
| クラス jp.ne.mki.wedge.rule.base.AbstractBase から継承されたフィールド |
|---|
controlRecord, engineManager, errorMessage, executeType, id, inputRecord, logicalName, logicClassDelegate, outputRecord, physicalName, ruleParameter, ruleType, serverParameter, userConstant |
| インタフェース jp.ne.mki.wedge.rule.base.interfaces.CommonInterface から継承されたフィールド |
|---|
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 |
| コンストラクタの概要 | |
|---|---|
HalfCharConvert()
|
|
| メソッドの概要 | |
|---|---|
static void |
convert(DataInterface inItem,
DataInterface outItem)
InItemの中身を全て半角文字列に変換し、OutItemに設定する。 |
static java.lang.String |
convert(java.lang.String value)
文字列を半角文字列変換する。 |
int |
execute()
パラメータの値を設定する処理を実行。 |
void |
exit()
終了処理。 |
int |
getIOParameter()
IOパラメータ取得。 |
protected int |
loopInOutRecordSub(DataInterface inItem,
DataInterface outItem,
int index)
loopInOutRecord()から呼び出されるメソッドです。 |
protected int |
loopOutRecordSub(DataInterface outItem,
int index)
loopOutRecord()から呼び出されるメソッドです。 |
| クラス jp.ne.mki.wedge.rule.base.AbstractCommon から継承されたメソッド |
|---|
getLogicClassType, getManager, terminate |
| クラス java.lang.Object から継承されたメソッド |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| フィールドの詳細 |
|---|
static 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 HalfCharConvert()
| メソッドの詳細 |
|---|
public int getIOParameter()
execute の前に実行される。
public int execute()
protected int loopOutRecordSub(DataInterface outItem,
int index)
AbstractBase の記述:
AbstractBase 内の loopOutRecordSubAbstractBase.loopOutRecordSub(jp.ne.mki.wedge.run.interfaces.DataInterface, int)
protected int loopInOutRecordSub(DataInterface inItem,
DataInterface outItem,
int index)
AbstractBase の記述:
AbstractBase 内の loopInOutRecordSubAbstractBase.loopInOutRecordSub(jp.ne.mki.wedge.run.interfaces.DataInterface, jp.ne.mki.wedge.run.interfaces.DataInterface, int)
public static void convert(DataInterface inItem,
DataInterface outItem)
inItem - 変換前文字列格納アイテムoutItem - 変換後文字列格納アイテムpublic static java.lang.String convert(java.lang.String value)
value - 変換前文字列
public void exit()
execute の後に実行されます。
|
|||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | ||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | ||||||||