Class PlainIpListParser.StartBuilder
java.lang.Object
de.gustavblass.nginx.ipguard4j.parser.PlainIpListParser.StartBuilder
- Enclosing class:
PlainIpListParser
StartBuilder ::= ( '#withDefaultCommentSymbols' | '#withoutDefaultCommentSymbols' )
FinalBuilder
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription@NonNull PlainIpListParser.FinalBuilderUses thePlainIpListParser.DEFAULT_COMMENT_CHARACTERSfor thePlainIpListParser.commentCharactersof thePlainIpListParserto be built.@NonNull PlainIpListParser.FinalBuilderOmits thePlainIpListParser.DEFAULT_COMMENT_CHARACTERSfrom thePlainIpListParser.commentCharactersof thePlainIpListParserto be built.
-
Constructor Details
-
StartBuilder
public StartBuilder()
-
-
Method Details
-
withDefaultCommentSymbols
@Contract(pure=true, value="-> new") @NonNull public @NonNull PlainIpListParser.FinalBuilder withDefaultCommentSymbols()Uses thePlainIpListParser.DEFAULT_COMMENT_CHARACTERSfor thePlainIpListParser.commentCharactersof thePlainIpListParserto be built.- Returns:
- A new
PlainIpListParser.FinalBuilderwith the default comment symbols added, which can be used to finalise the building process.
-
withoutDefaultCommentSymbols
@Contract(pure=true, value="-> new") @NonNull public @NonNull PlainIpListParser.FinalBuilder withoutDefaultCommentSymbols()Omits thePlainIpListParser.DEFAULT_COMMENT_CHARACTERSfrom thePlainIpListParser.commentCharactersof thePlainIpListParserto be built.- Returns:
- A new
PlainIpListParser.FinalBuilderwithout any default comment symbols, which can be used to finalise the building process.
-