public final class FileRetriever extends Object
Constructor and Description |
---|
FileRetriever(String... includes) |
Modifier and Type | Method and Description |
---|---|
String[] |
getFileNames(File baseDirectory)
Finds the files in the supplied folder that match the configured includes.
|
public FileRetriever(String... includes)
includes
- Ant-style include statements, for example "** /*.aidl"
(but without the space
in the middle).public String[] getFileNames(File baseDirectory)
baseDirectory
- Directory to find files in.String[]
of the files' paths and names, relative to baseDirectory
. Empty
String[]
if baseDirectory
does not exist.Copyright © 2008–2019 simpligility technologies inc.. All rights reserved.