Modifier and Type | Field and Description |
---|---|
protected Pattern |
matches
pattern for a transformation
|
protected String |
replacement
what the pattern should be replaced with
|
Constructor and Description |
---|
PathTransformation(String find,
String replace)
create a new transformation with the pattern and replacement
|
Modifier and Type | Method and Description |
---|---|
String |
transform(String path)
change a path if it matches this transformation
|
Terrier Information Retrieval Platform 5.1. Copyright © 2004-2019, University of Glasgow