java.lang.Objectjp.oarts.pirka.core.util.check.PirkaCheckerLength
public class PirkaCheckerLength
入力文字数チェッカー
フィールドの概要 | |
---|---|
static jp.oarts.pirka.core.util.check.PirkaCheckerLength.MODE |
JUST
固定桁指定 |
static jp.oarts.pirka.core.util.check.PirkaCheckerLength.MODE |
RANGE
範囲指定 |
コンストラクタの概要 | |
---|---|
PirkaCheckerLength(jp.oarts.pirka.core.util.check.PirkaCheckerLength.MODE mode,
int... lengths)
コンストラクタ |
メソッドの概要 | |
---|---|
void |
check(java.lang.String value)
チェックを行ないます。 |
クラス java.lang.Object から継承されたメソッド |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
フィールドの詳細 |
---|
public static final jp.oarts.pirka.core.util.check.PirkaCheckerLength.MODE JUST
public static final jp.oarts.pirka.core.util.check.PirkaCheckerLength.MODE RANGE
コンストラクタの詳細 |
---|
public PirkaCheckerLength(jp.oarts.pirka.core.util.check.PirkaCheckerLength.MODE mode, int... lengths)
mode
- チェックモードlengths
- 桁数 メソッドの詳細 |
---|
public void check(java.lang.String value) throws PirkaCheckException
Checker
内の check
value
- チェックを行なう文字列
PirkaCheckException
- エラー時