String[] listFiles (String dirPath, String filter)String[] listFiles (String dirPath, String filter)| Name | Type | Description |
|---|---|---|
dirPath | String | The target directory path. |
filter | String | An expression used to select the files - i.e., file names - of interest. |
| Type | Description |
|---|---|
String[] | Returns an array of files from the target directory that match the specified filter/pattern. |