パッケージ 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
.-
メソッドの概要
修飾子とタイプ メソッド 説明 Epitaph
build()
Returns the new instance ofEpitaph
.Epitaph.Builder
input(@NonNull CharSequence input)
Sets the input character sequence.Epitaph.Builder
option(@NonNull EnumSet<RegexOption> regexOptionSet)
Sets the regex option set.Epitaph.Builder
pattern(@NonNull String regexPattern)
Sets the regex pattern.Epitaph.Builder
pattern(@NonNull RegexPattern regexPattern)
Sets the regex pattern.
-
メソッドの詳細
-
pattern
Sets the regex pattern.- パラメータ:
regexPattern
- The regex pattern- 戻り値:
- The instance of
Epitaph.Builder
- 例外:
NullPointerException
- Ifnull
is passed as an argument
-
pattern
Sets the regex pattern.- パラメータ:
regexPattern
- The regex pattern- 戻り値:
- The instance of
Epitaph.Builder
- 例外:
NullPointerException
- Ifnull
is passed as an argument
-
input
Sets the input character sequence.- パラメータ:
input
- The input- 戻り値:
- The instance of
Epitaph.Builder
- 例外:
NullPointerException
- Ifnull
is passed as an argument
-
option
Sets the regex option set.- パラメータ:
regexOptionSet
- The regex option set- 戻り値:
- The instance of
Epitaph.Builder
- 例外:
NullPointerException
- Ifnull
is passed as an argument
-
build
Returns the new instance ofEpitaph
.- 戻り値:
- The new instance of
Epitaph
- 例外:
IllegalStateException
- Ifpattern(RegexPattern)
orinput(CharSequence)
is not called
-