org.nuxeo.common.utils
Class FileNamePattern
java.lang.Object
org.nuxeo.common.utils.FileNamePattern
public class FileNamePattern
- extends Object
- Author:
- Bogdan Stefanescu
Method Summary |
static 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 ? wildcard. |
boolean |
match(String text)
|
FileNamePattern
public FileNamePattern(String pattern)
match
public boolean match(String text)
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.
Copyright © 2011 Nuxeo SAS. All Rights Reserved.