Klasse DeleteFromStartGreedy
java.lang.Object
org.apache.ant.props.RegexBasedEvaluator
org.apache.ant.props.stringops.PatternOperation
org.apache.ant.props.stringops.DeletePartOperation
org.apache.ant.props.stringops.DeleteFromStartGreedy
- Alle implementierten Schnittstellen:
org.apache.tools.ant.PropertyHelper.Delegate, org.apache.tools.ant.PropertyHelper.PropertyEvaluator
DeleteFromStartGreedy operation.
-
Feldübersicht
Von Klasse geerbte Felder DeletePartOperation
GREEDY, RELUCTANT -
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Modifikator und TypMethodeBeschreibungprotected voidconvertToRegex(StringBuffer sb, boolean greedy) Convert a *nix-style pattern to a regex pattern.protected StringspecializePattern(String pattern) Specialize the RE pattern for the purposes of the specific subclass.Von Klasse geerbte Methoden DeletePartOperation
evaluateVon Klasse geerbte Methoden PatternOperation
convertToRegex, createRegexp, deEscape, toRegex, toRegexVon Klasse geerbte Methoden RegexBasedEvaluator
addOption, evaluate, getPattern, getRegularExpression, setPattern
-
Konstruktordetails
-
DeleteFromStartGreedy
public DeleteFromStartGreedy()Construct a new DeleteFromStartGreedy operation.
-
-
Methodendetails
-
specializePattern
Specialize the RE pattern for the purposes of the specific subclass.- Angegeben von:
specializePatternin KlasseDeletePartOperation- Parameter:
pattern- partial RE pattern.- Gibt zurück:
- pattern including one group.
-
convertToRegex
Convert a *nix-style pattern to a regex pattern.- Setzt außer Kraft:
convertToRegexin KlassePatternOperation- Parameter:
sb- StringBuffer to convert.greedy- whether to be greedy.- Siehe auch:
-