Class Replace
Object
AnchorBean<DerivePath>
DerivePath
Replace
public class Replace
extends DerivePath
Generates a file-path by replacing all occurrences of a string-pattern with another
Paths always use forward-slashes regardless of operating system.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionderiveFrom(Path source, boolean debugMode) getRegex()Regular expression to match against stringWhat to replace in the pathvoidRegular expression to match against stringvoidsetReplacement(String replacement) What to replace in the pathMethods inherited from class org.anchoranalysis.io.input.bean.path.DerivePath
deriveFromMethods inherited from class org.anchoranalysis.bean.AnchorBean
checkMisconfigured, describeBean, describeChildren, duplicateBean, fields, findFieldsOfClass, getBeanName, getLocalPath, localise, toString
-
Constructor Details
-
Replace
public Replace()
-
-
Method Details
-
deriveFrom
-
getRegex
Regular expression to match against string -
setRegex
Regular expression to match against string -
getReplacement
What to replace in the path -
setReplacement
What to replace in the path
-