DeletePartOperation (ant-props API)
Description: declaration: package: org.apache.ant.props.stringops, class: DeletePartOperation

# Klasse DeletePartOperation

java.lang.Object
org.apache.ant.props.RegexBasedEvaluator
org.apache.ant.props.stringops.PatternOperation
org.apache.ant.props.stringops.DeletePartOperation

Alle implementierten Schnittstellen:
  `org.apache.tools.ant.PropertyHelper.Delegate, org.apache.tools.ant.PropertyHelper.PropertyEvaluator`

Bekannte direkte Unterklassen:
  `DeleteFromEndGreedy, DeleteFromEndReluctant, DeleteFromStartGreedy, DeleteFromStartReluctant`

public abstract class DeletePartOperation extends PatternOperation
DeletePartOperation to be subclassed for Delete[Start|End][Greedy|Reluctant]..

- ## Feldübersicht

  Felder
  Modifikator und Typ
  Feld
  Beschreibung
  `protected static final boolean`
  `GREEDY`
  `protected static final boolean`
  `RELUCTANT`

- ## Konstruktorübersicht

  Konstruktoren
  Modifikator
  Konstruktor
  Beschreibung
  `protected`
  `DeletePartOperation(String pattern, boolean greedy)`
  Construct a new DeletePartOperation.

- ## Methodenübersicht

  Modifikator und Typ
  Methode
  Beschreibung
  `protected Object`
  `evaluate(String[] groups, org.apache.tools.ant.PropertyHelper propertyHelper)`
  Evaluate the matched groups.
  `protected abstract String`
  `specializePattern(String pattern)`
  Specialize the RE pattern for the purposes of the specific subclass.

  ### Von Klasse geerbte Methoden PatternOperation

  `convertToRegex, convertToRegex, createRegexp, deEscape, toRegex, toRegex`

  ### Von Klasse geerbte Methoden RegexBasedEvaluator

  `addOption, evaluate, getPattern, getRegularExpression, setPattern`

  ### Von Klasse geerbte Methoden Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Felddetails

  - ### GREEDY

    protected static final boolean GREEDY
    Siehe auch:
      - Konstantenfeldwerte

  - ### RELUCTANT

    protected static final boolean RELUCTANT
    Siehe auch:
      - Konstantenfeldwerte

- ## Konstruktordetails

  - ### DeletePartOperation

    protected DeletePartOperation(String pattern, boolean greedy)
    Construct a new DeletePartOperation.

- ## Methodendetails

  - ### evaluate

    protected Object evaluate(String[] groups, org.apache.tools.ant.PropertyHelper propertyHelper)
    Evaluate the matched groups.
    Angegeben von:
      `evaluate` in Klasse `RegexBasedEvaluator`
    Parameter:
      `groups` - the matches from the base regex.
      `propertyHelper` - the calling PropertyHelper.

  - ### specializePattern

    protected abstract String specializePattern(String pattern)
    Specialize the RE pattern for the purposes of the specific subclass.
    Parameter:
      `pattern` - partial RE pattern.
    Gibt zurück:
      pattern including one group.