|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.problets.lib.MyFileFilter
public class MyFileFilter
Class that provides the filter for accessing files from a directory
Constructor Summary | |
---|---|
MyFileFilter(java.lang.String inExtension)
Constructor for file filter to pick files with the given extension |
Method Summary | |
---|---|
boolean |
accept(java.io.File fileName)
Could have a constructor to pick extensions from a comma-separated string |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MyFileFilter(java.lang.String inExtension)
Method Detail |
---|
public boolean accept(java.io.File fileName)
accept
in interface java.io.FileFilter
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |