Class RegExPropertiesCollector
- Object
-
- PropertiesCollector
-
- RegExPropertiesCollector
-
public abstract class RegExPropertiesCollector extends PropertiesCollector
-
-
Constructor Summary
Constructors Constructor Description RegExPropertiesCollector(PropertiesCollectorSPI spi, List<String> propertyNames, String regex, boolean fullPath)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RegExPropertiesCollector
collect(File file)
RegExPropertiesCollector
collect(URI uri)
RegExPropertiesCollector
collect(URL url)
boolean
isFullPath()
void
setFullPath(boolean fullPath)
void
setProperties(Map<String,Object> map)
-
Methods inherited from class PropertiesCollector
addMatch, collect, collect, getMatches, getPropertyNames, getSpi, reset, setProperties
-
-
-
-
Constructor Detail
-
RegExPropertiesCollector
public RegExPropertiesCollector(PropertiesCollectorSPI spi, List<String> propertyNames, String regex, boolean fullPath)
-
-
Method Detail
-
isFullPath
public boolean isFullPath()
-
setFullPath
public void setFullPath(boolean fullPath)
-
collect
public RegExPropertiesCollector collect(File file)
- Overrides:
collect
in classPropertiesCollector
-
collect
public RegExPropertiesCollector collect(URL url)
- Overrides:
collect
in classPropertiesCollector
-
collect
public RegExPropertiesCollector collect(URI uri)
- Overrides:
collect
in classPropertiesCollector
-
setProperties
public void setProperties(Map<String,Object> map)
- Specified by:
setProperties
in classPropertiesCollector
-
-