Package org.nuxeo.common.utils
Class FileNamePattern
java.lang.Object
org.nuxeo.common.utils.FileNamePattern
- Author:
- Bogdan Stefanescu
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic boolean
containsAt
(char[] array, int offset, char[] pattern) Tests whether the given array match the pattern at the given position.static int
indexOf
(char[] chars, char[] pattern, int offset) Variant of indexOf with ?boolean
-
Constructor Details
-
FileNamePattern
-
-
Method Details
-
match
-
indexOf
public static int indexOf(char[] chars, char[] pattern, int offset) Variant of indexOf with ? wildcard. -
containsAt
public static boolean containsAt(char[] array, int offset, char[] pattern) Tests whether the given array match the pattern at the given position. Matching allows ? wildcards.
-