public interface PatternCompiler
compile an pattern-expression given as string
into a Pattern. Pattern.compile(String, int) and therefore also allow other dialects like
glob-patterns.| Modifier and Type | Method and Description |
|---|---|
Pattern |
compile(String pattern) |
Pattern compile(String pattern) throws IllegalArgumentException
pattern - is the expression to be compiled as pattern.null if explicitly documented by the underlying
implementation. E.g. if the given pattern is just a plain string without wildcards.IllegalArgumentException - if the given pattern has illegal syntax for the underlying compiler.Pattern.compile(String)Copyright © 2001–2016 mmm-Team. All rights reserved.