Microsoft SDK for Java

append

The append method of the WildcardExpression Class contains the following signatures:

append(WildcardExpression other)
append(WildcardExpression[] list)
append(String expr, int flags)
append(String expr)

append(WildcardExpression other)

Appends another expression to this expression.

Syntax

public synchronized void append(WildcardExpression other);

Parameters

other The expression to append.

Exceptions

IllegalArgumentException if the expressions are incompatible.

append(WildcardExpression[] list)

Adds a list of expressions to the expression. If any expressions fail to be added, the original expression is not affected.

Syntax

public synchronized void append(WildcardExpression[] list);

Parameters

list The list of expressions to add.

append(String expr, int flags)

Appends another expression to this expression.

Syntax

public synchronized void append(String expr, int flags);

Parameters

expr The expression to append.
flags Combination of one or more of the following flags for controlling constructing of the expression:

NO_WILDCARDS
NO_DELIMITERS
ESCAPED

Note that CASE_SENSITIVE is not valid. The case-sensitivity of matching the new pattern is controlled by the existing case-sensitivity of the expression.


Exceptions

IllegalArgumentException if the expression is invalid.

append(String expr)

Appends another expression to this expression.

Syntax

public void append(String expr);

Parameters

expr The expression to append.

Exceptions

IllegalArgumentException if the expression is invalid.

© 1999 Microsoft Corporation. All rights reserved. Terms of use.