パッケージ org.thinkit.common.regex
クラス Epitaph.Builder
java.lang.Object
org.thinkit.common.regex.Epitaph.Builder
- 含まれているクラス:
- Epitaph
public static class Epitaph.Builder extends Object
The builder class for
Epitaph .-
メソッドの概要
修飾子とタイプ メソッド 説明 Epitaphbuild()Returns the new instance ofEpitaph.Epitaph.Builderinput(@NonNull CharSequence input)Sets the input character sequence.Epitaph.Builderoption(@NonNull EnumSet<RegexOption> regexOptionSet)Sets the regex option set.Epitaph.Builderpattern(@NonNull String regexPattern)Sets the regex pattern.Epitaph.Builderpattern(@NonNull RegexPattern regexPattern)Sets the regex pattern.
-
メソッドの詳細
-
pattern
Sets the regex pattern.- パラメータ:
regexPattern- The regex pattern- 戻り値:
- The instance of
Epitaph.Builder - 例外:
NullPointerException- Ifnullis passed as an argument
-
pattern
Sets the regex pattern.- パラメータ:
regexPattern- The regex pattern- 戻り値:
- The instance of
Epitaph.Builder - 例外:
NullPointerException- Ifnullis passed as an argument
-
input
Sets the input character sequence.- パラメータ:
input- The input- 戻り値:
- The instance of
Epitaph.Builder - 例外:
NullPointerException- Ifnullis passed as an argument
-
option
Sets the regex option set.- パラメータ:
regexOptionSet- The regex option set- 戻り値:
- The instance of
Epitaph.Builder - 例外:
NullPointerException- Ifnullis passed as an argument
-
build
Returns the new instance ofEpitaph.- 戻り値:
- The new instance of
Epitaph - 例外:
IllegalStateException- Ifpattern(RegexPattern)orinput(CharSequence)is not called
-