public class FileNamePattern extends Object
Constructor and Description |
---|
FileNamePattern(String pattern) |
Modifier and Type | Method and Description |
---|---|
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) |
public FileNamePattern(String pattern)
public boolean match(String text)
public static int indexOf(char[] chars, char[] pattern, int offset)
public static boolean containsAt(char[] array, int offset, char[] pattern)
Copyright © 2013 Nuxeo SA. All Rights Reserved.