软件包 | 描述 |
---|---|
java.awt |
包含创建用户界面和绘制图形和图像的所有类。
|
java.io |
通过数据流、序列化和文件系统提供系统的输入和输出。
|
Modifier and Type | Method and Description |
---|---|
FilenameFilter |
FileDialog.getFilenameFilter()
确定此文件对话框的文件名筛选器。
|
Modifier and Type | Method and Description |
---|---|
void |
FileDialog.setFilenameFilter(FilenameFilter filter)
将此文件对话框的文件名筛选器设置为指定的筛选器。
|
Modifier and Type | Method and Description |
---|---|
String[] |
File.list(FilenameFilter filter)
返回的字符串在该目录下的抽象路径名,满足指定的过滤器表示文件和目录命名数组。
|
File[] |
File.listFiles(FilenameFilter filter)
返回表示的抽象路径名的文件和目录的目录,这个抽象路径名满足指定过滤器表示数组。
|
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2014, Oracle and/or its affiliates. All rights reserved.