public class InsertRegExGroups extends DerivePath
Constructor and Description |
---|
InsertRegExGroups() |
InsertRegExGroups(RegEx regEx,
String outPath) |
Modifier and Type | Method and Description |
---|---|
Path |
deriveFrom(Path source,
boolean debugMode)
Derives a new path from an existing path.
|
String |
getOutPath()
Constructs a path as an output, replacing $1, $2 etc.
|
RegEx |
getRegEx()
The regular-expression to use for matching groups.
|
void |
setOutPath(String outPath)
Constructs a path as an output, replacing $1, $2 etc.
|
void |
setRegEx(RegEx regEx)
The regular-expression to use for matching groups.
|
void |
setRegExString(String regEx)
The regular-expression to use for matching groups, overloaded to handle legacy situations
where a string is supplied.
|
deriveFrom
checkMisconfigured, describeBean, describeChildren, duplicateBean, fields, findFieldsOfClass, getBeanName, getLocalPath, localise, toString
public Path deriveFrom(Path source, boolean debugMode) throws DerivePathException
DerivePath
deriveFrom
in class DerivePath
source
- the path to derive from.debugMode
- true if debug-mode is activatedDerivePathException
- if anything goes wrongpublic void setRegExString(String regEx)
public void setRegEx(RegEx regEx)
public RegEx getRegEx()
public String getOutPath()
public void setOutPath(String outPath)
Copyright © 2010–2023 Owen Feehan, ETH Zurich, University of Zurich, Hoffmann-La Roche. All rights reserved.