Package com.floragunn.codova.config.text
Interface Pattern
- All Known Implementing Classes:
PatternImpl,SimplePatternImpl
-
Method Summary
Modifier and TypeMethodDescriptionstatic Patternblank()static Patternstatic Patternstatic Patternstatic PatterncreatePrefixPattern(String prefix) static PatterncreatePrefixPattern(String prefix1, String... more) static PatterncreatePrefixPattern(Collection<String> prefixes) static PatterncreateUnchecked(String pattern) static PatterncreateUnchecked(String pattern1, String pattern2, String... more) static PatterncreateUnchecked(List<String> patterns) static PatterncreateWithoutExclusions(Collection<String> patterns) com.floragunn.fluent.collections.ImmutableSet<String><E> com.floragunn.fluent.collections.ImmutableSet<E>getMatching(com.floragunn.fluent.collections.ImmutableSet<E> set, Function<E, String> stringMappingFunction) com.floragunn.fluent.collections.ImmutableSet<String>getMatching(com.floragunn.fluent.collections.ImmutableSet<String> strings) com.floragunn.fluent.collections.ImmutableSet<String>booleanisBlank()static booleanisConstant(String pattern) boolean<E> Iterable<E>iterateMatching(Iterable<E> elements, Function<E, String> toStringFunction) iterateMatching(Iterable<String> strings) static Patternjoin(Collection<Pattern> patterns) booleanbooleanstatic Patternparse(DocNode docNode, Parser.Context context) static Patternwildcard()Methods inherited from interface com.floragunn.codova.documents.Document
meta, toBasicObject, toBytes, toDeepBasicObject, toDocNode, toJsonString, toPrettyJsonString, toSmile, toString, toYamlString
-
Method Details
-
create
- Throws:
ConfigValidationException
-
create
static Pattern create(String pattern1, String pattern2, String... more) throws ConfigValidationException - Throws:
ConfigValidationException
-
create
- Throws:
ConfigValidationException
-
createWithoutExclusions
static Pattern createWithoutExclusions(Collection<String> patterns) throws ConfigValidationException - Throws:
ConfigValidationException
-
createUnchecked
-
createUnchecked
-
createUnchecked
-
createPrefixPattern
-
createPrefixPattern
-
createPrefixPattern
-
join
-
parse
- Throws:
ConfigValidationException
-
isConstant
-
wildcard
-
blank
-
matches
-
matches
-
getMatching
-
iterateMatching
-
iterateMatching
-
getConstants
com.floragunn.fluent.collections.ImmutableSet<String> getConstants() -
getPatterns
com.floragunn.fluent.collections.ImmutableSet<String> getPatterns() -
getMatching
-
excluding
-
isWildcard
boolean isWildcard() -
isBlank
boolean isBlank()
-