public class FileNameExtensionFilter extends Object implements FilenameFilter
| Constructor | Description |
|---|---|
FileNameExtensionFilter(String... allowedExt) |
Constructor
|
public FileNameExtensionFilter(String... allowedExt)
allowedExt - list of extension excluding the '.'public boolean accept(File dir, String name)
accept in interface FilenameFilterCopyright © 2025. All rights reserved.