public class LiteralCharsetDef extends CharsetDefSupport
// 1と3を許可
LiteralCharsetDef oneAndThree = new LiteralCharsetDef();
oneAndThree.setAllowedCharacters("13");
| コンストラクタと説明 |
|---|
LiteralCharsetDef() |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
boolean |
contains(int codePoint)
コードポイントが許容文字であるか判定する。
|
LiteralCharsetDef |
setAllowedCharacters(java.lang.String allowedCharacters)
許容文字を設定する。
|
getMessageId, setMessageIdpublic boolean contains(int codePoint)
codePoint - Unicodeコードポイントpublic LiteralCharsetDef setAllowedCharacters(java.lang.String allowedCharacters)
allowedCharacters - 許容文字