Microsoft SDK for Java

WildcardExpression Class Constructors

The WildcardExpression Class contains the following constructors:

WildcardExpression()
WildcardExpression(String expr)
WildcardExpression(String expr, int flags)

WildcardExpression()

Creates an empty expression. (An expression must be compiled before matches can be made.)

Syntax

public WildcardExpression();

See Also

compile

WildcardExpression(String expr)

Creates an expression that follows the typical wildcard convention.

Syntax

public WildcardExpression(String expr);

Parameters

expr The expression to evaluate.

WildcardExpression(String expr, int flags)

Creates a case-sensitive expression from a string and allows for escaped wildcards.

Syntax

public WildcardExpression (String expr, int flags);

Parameters

expr The expression to compile.
flags Combination of one or more of the following flags:

CASE_SENSITIVE
NO_DELIMITERS
ESCAPED


See Also

compile

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