Class RegExPropertiesCollector
Object
PropertiesCollector
RegExPropertiesCollector
- All Implemented Interfaces:
FullPathCollector
public abstract class RegExPropertiesCollector
extends PropertiesCollector
implements FullPathCollector
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionRegExPropertiesCollector
(PropertiesCollectorSPI spi, List<String> propertyNames, String regex, boolean fullPath) -
Method Summary
Modifier and TypeMethodDescriptionboolean
void
setFullPath
(boolean fullPath) void
setProperties
(Map<String, Object> map) toString()
Methods inherited from class PropertiesCollector
addMatch, collect, collect, getMatches, getPropertyNames, getSpi, reset, setProperties
-
Field Details
-
fullPath
protected boolean fullPath -
pattern
-
-
Constructor Details
-
RegExPropertiesCollector
public RegExPropertiesCollector(PropertiesCollectorSPI spi, List<String> propertyNames, String regex, boolean fullPath)
-
-
Method Details
-
isFullPath
public boolean isFullPath()- Specified by:
isFullPath
in interfaceFullPathCollector
-
setFullPath
public void setFullPath(boolean fullPath) - Specified by:
setFullPath
in interfaceFullPathCollector
-
collect
- Overrides:
collect
in classPropertiesCollector
-
collect
- Overrides:
collect
in classPropertiesCollector
-
collect
- Overrides:
collect
in classPropertiesCollector
-
setProperties
- Specified by:
setProperties
in classPropertiesCollector
-
toString
-