|
GigaSpaces XAP 9.7.2 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.sun.jini.system.JavaSourceFilter
public class JavaSourceFilter
Implementation of FilenameFilter to allow us to just look for java files by default, or other file extensions if the user wishes to use a different extension.
Constructor Summary | |
---|---|
JavaSourceFilter()
Create a filter for *.java files. |
|
JavaSourceFilter(String fileExtension)
Create a filter for a user defined extension. |
Method Summary | |
---|---|
boolean |
accept(File filename)
Method required by FilenameFilter interface. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public JavaSourceFilter()
public JavaSourceFilter(String fileExtension)
fileExtension
- The extension the user is looking for.Method Detail |
---|
public boolean accept(File filename)
accept
in interface FileFilter
filename
- The current file we are looking at.
|
GigaSpaces XAP 9.7.2 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |