public class FileFilterUtil extends Object
| Constructor and Description |
|---|
FileFilterUtil() |
| Modifier and Type | Method and Description |
|---|---|
static String |
afterLastSlash(String sregex) |
static int |
extractCounter(File file,
String stemRegex) |
static File[] |
filesInFolderMatchingStemRegex(File file,
String stemRegex)
Return the set of files matching the stemRegex as found in 'directory'.
|
static int |
findHighestCounter(File[] matchingFileArray,
String stemRegex) |
static String |
slashify(String in) |
public static File[] filesInFolderMatchingStemRegex(File file, String stemRegex)
file - folder's file objectstemRegex - regex file pattern to match