public class FileNameExtensionFilter extends Object implements FilenameFilter
| Constructor and 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 © 2024. All rights reserved.