IFileCollector
public interface IFileCollector
Defines methods for selecting collections of files.
Methods
Method | Description |
---|---|
getFileNamesByExtension(String extension) | Returns the array of file names by an extension. |
getFileNamesByExtension(String extension, String path) | Returns the array of file names by an extension. |
getFileNamesByExtension(String extension)
public abstract String[] getFileNamesByExtension(String extension)
Returns the array of file names by an extension.
Parameters:
Parameter | Type | Description |
---|---|---|
extension | java.lang.String | The file extension. |
Returns: java.lang.String[] - The array of file names.
getFileNamesByExtension(String extension, String path)
public abstract String[] getFileNamesByExtension(String extension, String path)
Returns the array of file names by an extension.
Parameters:
Parameter | Type | Description |
---|---|---|
extension | java.lang.String | The file extension. |
path | java.lang.String | The path inside the directory. |
Returns: java.lang.String[] - The array of file names.