public class JavaSourceFilter extends Object implements FileFilter
Constructor and Description |
---|
JavaSourceFilter()
Create a filter for *.java files.
|
JavaSourceFilter(String fileExtension)
Create a filter for a user defined extension.
|
Modifier and Type | Method and Description |
---|---|
boolean |
accept(File filename)
Method required by FilenameFilter interface.
|
public JavaSourceFilter()
public JavaSourceFilter(String fileExtension)
fileExtension
- The extension the user is looking for.public boolean accept(File filename)
accept
in interface FileFilter
filename
- The current file we are looking at.Copyright © GigaSpaces.