Package | Description |
---|---|
com.norconex.commons.lang.map |
Enhanced and/or useful features related to Map.
|
com.norconex.commons.lang.text |
Utility classes related to text.
|
Modifier and Type | Method and Description |
---|---|
TextMatcher |
PropertyMatcher.getFieldMatcher()
Gets the field matcher (copy).
|
TextMatcher |
PropertyMatcher.getValueMatcher()
Gets the value matcher (copy).
|
Modifier and Type | Method and Description |
---|---|
Properties |
Properties.match(TextMatcher fieldMatcher,
TextMatcher valueMatcher)
Gets a properties subset for matching keys and values.
|
Properties |
Properties.matchKeys(TextMatcher keyMatcher)
Gets a properties subset for keys matched by the key matcher.
|
Properties |
Properties.matchValues(TextMatcher valueMatcher)
Gets a properties subset for values matched by the value matcher.
|
Constructor and Description |
---|
PropertyMatcher(TextMatcher fieldMatcher)
A property matcher matching empty or
null elements. |
PropertyMatcher(TextMatcher fieldMatcher,
TextMatcher valueMatcher)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
static TextMatcher |
TextMatcher.basic(String pattern)
Creates a new text matcher initialized with basic matching.
|
static TextMatcher |
TextMatcher.csv(String pattern)
Creates a new text matcher initialized with comma-separated-value
matching.
|
TextMatcher |
TextMatcher.ignoreCase() |
TextMatcher |
TextMatcher.ignoreDiacritic() |
TextMatcher |
TextMatcher.partial() |
static TextMatcher |
TextMatcher.regex(String pattern)
Creates a new text matcher initialized with regular expression
matching.
|
TextMatcher |
TextMatcher.replaceAll() |
TextMatcher |
TextMatcher.setIgnoreCase(boolean ignoreCase) |
TextMatcher |
TextMatcher.setIgnoreDiacritic(boolean ignoreDiacritic) |
TextMatcher |
TextMatcher.setMethod(TextMatcher.Method method) |
TextMatcher |
TextMatcher.setPartial(boolean partial) |
TextMatcher |
TextMatcher.setPattern(String pattern) |
TextMatcher |
TextMatcher.setReplaceAll(boolean replaceAll) |
static TextMatcher |
TextMatcher.wildcard(String pattern)
Creates a new text matcher initialized with wildcard matching.
|
TextMatcher |
TextMatcher.withIgnoreCase(boolean ignoreCase) |
TextMatcher |
TextMatcher.withIgnoreDiacritic(boolean ignoreDiacritic) |
TextMatcher |
TextMatcher.withMethod(TextMatcher.Method method) |
TextMatcher |
TextMatcher.withPartial(boolean partial) |
TextMatcher |
TextMatcher.withPattern(String pattern) |
TextMatcher |
TextMatcher.withReplaceAll(boolean replaceAll) |
Modifier and Type | Method and Description |
---|---|
void |
TextMatcher.copyFrom(TextMatcher tm) |
void |
TextMatcher.copyTo(TextMatcher tm) |
Constructor and Description |
---|
TextMatcher(TextMatcher textMatcher)
Copy constructor.
|
Copyright © 2008–2023 Norconex Inc.. All rights reserved.