public class URLPattern extends Object
| Constructor and Description |
|---|
URLPattern() |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
containsCRorLF(String urlPattern)
This method is used to check whether a url pattern contains a CR(#xD) or
LF (#xA).
|
static boolean |
isValid(String urlPattern)
This method is used to check the validity of url pattern
according to the spec.
|
public static boolean isValid(String urlPattern)
urlPattern - the url patternpublic static boolean containsCRorLF(String urlPattern)
urlPattern - the url pattern (must not be null)Copyright © 2017–2020 Eclipse Foundation. All rights reserved.