Microsoft SDK for Java

compile

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

compile(String expr, int flags)
compile(String expr)

compile(String expr, int flags)

Compiles the expression for faster evaluation. The previously compiled expression is lost when this method is called.

Syntax

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

Parameters

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

NO_WILDCARDS
CASE_SENSITIVE
NO_DELIMITERS
ESCAPED


See Also

match

compile(String expr)

Compiles the expression for faster evaluation with default values.

Syntax

public void compile(String expr);

Parameters

expr The expression to compile.

Remarks

The previously compiled expression is lost when this method is called. Case-sensitive matching and the evaluation of escaped wildcards are disabled for the compilation.

See Also

match

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