Class SubstituteRegularExpression
Object
org.anchoranalysis.bean.AnchorBean<CopyFilesNaming<T>>
org.anchoranalysis.plugin.io.bean.file.copy.naming.CopyFilesNaming<org.anchoranalysis.experiment.task.NoSharedState>
org.anchoranalysis.plugin.io.bean.file.copy.naming.CopyFilesNamingWithoutSharedState
org.anchoranalysis.plugin.io.bean.file.copy.naming.CopyFilesNamingOne
org.anchoranalysis.plugin.io.bean.file.copy.naming.RegularExpressionBase
org.anchoranalysis.plugin.io.bean.file.copy.naming.SubstituteRegularExpression
public class SubstituteRegularExpression extends RegularExpressionBase
A regular expression substitution (replaceAll) is applied to the relative-path
- Author:
- Owen Feehan
-
Constructor Summary
Constructors Constructor Description SubstituteRegularExpression() -
Method Summary
Modifier and Type Method Description protected Optional<Path>destinationPathRelative(Path path, String regex)StringgetReplacement()voidsetReplacement(String replacement)Methods inherited from class org.anchoranalysis.plugin.io.bean.file.copy.naming.RegularExpressionBase
destinationPathRelative, getRegex, setRegexMethods inherited from class org.anchoranalysis.plugin.io.bean.file.copy.naming.CopyFilesNamingOne
beforeCopying, destinationPathRelative, getCopyFilesNaming, setCopyFilesNamingMethods inherited from class org.anchoranalysis.plugin.io.bean.file.copy.naming.CopyFilesNaming
destinationPath
-
Constructor Details
-
SubstituteRegularExpression
public SubstituteRegularExpression()
-
-
Method Details
-
destinationPathRelative
- Specified by:
destinationPathRelativein classRegularExpressionBase
-
getReplacement
-
setReplacement
-