public final class FileUtils extends Object
Modifier and Type | Method and Description |
---|---|
static String[] |
getIncludedFiles(File baseDirectory,
String[] includes,
String[] excludes)
Get a list of relative file paths based on inclusion patterns.
|
static ArrayList<String> |
getStrings(File file)
Get the content of a file as an array of Strings.
|
public static ArrayList<String> getStrings(File file) throws IOException
file
- File containing the strings.IOException
- Failed to read the file.public static String[] getIncludedFiles(File baseDirectory, String[] includes, String[] excludes)
baseDirectory
- Where to look for files to include.includes
- Patterns specifying files to include.
If null, match all files
except files excluded by default.excludes
- Patterns specifying files to exclude.
If null, exclude only image files
and files excluded by default.Copyright © 2025 Open Identity Platform Community. All rights reserved.