|
WebLogic Integration | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--javax.swing.filechooser.FileFilter | +--com.bea.wlpi.client.common.ExtensionFileFilter
FileChooser
filter that discriminates by file extension.
Constructor Summary | |
ExtensionFileFilter(java.lang.String description)
Create an ExtensionFileFilter with the specified description. |
Method Summary | |
boolean |
accept(java.io.File f)
Whether the given file is accepted by the filter. |
void |
addExtension(java.lang.String extension)
Add another extension to the list of those recognized by the filter. |
java.lang.String |
getDescription()
The description of this filter. |
void |
setDescription(java.lang.String description)
Set the description. |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Constructor Detail |
public ExtensionFileFilter(java.lang.String description)
ExtensionFileFilter
with the specified description.
description
- text to appear in the "Files of type" list.Method Detail |
public boolean accept(java.io.File f)
f
- The file to test.true
if the filter accepted the file, otherwise
false
.public void addExtension(java.lang.String extension)
extension
- extension (excluding the '.' character).public void setDescription(java.lang.String description)
description
- Text to appear in the "Files of type" list.getDescription()
public java.lang.String getDescription()
setDescription(java.lang.String)
|
WebLogic Integration | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |