public final class Utils extends Object
Modifier and Type | Method and Description |
---|---|
static boolean |
fileExtensionMatches(File file,
String[] fileExtensions)
Returns whether the file extension matches what we are meant to
process.
|
public static boolean fileExtensionMatches(File file, String[] fileExtensions)
file
- the file to be checked.fileExtensions
- files extensions, empty property in config makes it matches to all.Copyright © 2001–2015. All rights reserved.