|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjavax.swing.filechooser.FileFilter
uk.co.javagear.RomFilter
uk.co.javagear.SMSFilter
public class SMSFilter
JavaGear File Filters (Code from "Core Java Volume #1").
| Constructor Summary | |
|---|---|
SMSFilter()
|
|
| Method Summary | |
|---|---|
boolean |
accept(java.io.File f)
Returns true if the file given is accepted and false otherwise. |
java.lang.String |
getDescription()
Returns a description of this filter, "Sega Master System ROMs (*.sms)". |
| Methods inherited from class uk.co.javagear.RomFilter |
|---|
getExtension |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SMSFilter()
| Method Detail |
|---|
public boolean accept(java.io.File f)
true if the file given is accepted and false otherwise.
This filter accepts all directories and files with extension sms.
accept in class RomFilterf - the instance of File to accept or reject.
true if the file given is accepted and false otherwise.public java.lang.String getDescription()
"Sega Master System ROMs (*.sms)".
getDescription in class RomFilter"Sega Master System ROMs (*.sms)".
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||