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

# Klasse DeleteFromStartReluctant

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.DeleteFromStartReluctant

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

public class DeleteFromStartReluctant extends DeletePartOperation
DeleteFromStartReluctant operation.

- ## Feldübersicht

  ### Von Klasse geerbte Felder DeletePartOperation

  `GREEDY, RELUCTANT`

- ## Konstruktorübersicht

  Konstruktoren
  Konstruktor
  Beschreibung
  `DeleteFromStartReluctant()`
  Construct a new DeleteFromStartReluctant operation.

- ## Methodenübersicht

  Modifikator und Typ
  Methode
  Beschreibung
  `protected void`
  `convertToRegex(StringBuffer sb, boolean greedy)`
  Convert a *nix-style pattern to a regex pattern.
  `protected String`
  `specializePattern(String pattern)`
  Specialize the RE pattern for the purposes of the specific subclass.

  ### Von Klasse geerbte Methoden DeletePartOperation

  `evaluate`

  ### Von Klasse geerbte Methoden PatternOperation

  `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`

- ## Konstruktordetails

  - ### DeleteFromStartReluctant

    public DeleteFromStartReluctant()
    Construct a new DeleteFromStartReluctant operation.

- ## Methodendetails

  - ### specializePattern

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

  - ### convertToRegex

    protected void convertToRegex(StringBuffer sb, boolean greedy)
    Convert a *nix-style pattern to a regex pattern.
    Setzt außer Kraft:
      `convertToRegex` in Klasse `PatternOperation`
    Parameter:
      `sb` - StringBuffer to convert.
      `greedy` - whether to be greedy.
    Siehe auch:
      - `PatternOperation.convertToRegex(java.lang.StringBuffer, boolean)`