|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.hackystat.telemetry.analyzer.configuration.ExtensionFileFilter
public class ExtensionFileFilter
Provides a file filter that accepts only files with a given case-insensitive extension.
Constructor Summary | |
---|---|
ExtensionFileFilter(java.lang.String extension)
Creates a file filter that accepts only files with the given extension, case-insensitive. |
Method Summary | |
---|---|
boolean |
accept(java.io.File file)
Determines if the passed file should be filtered or not. |
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 extension)
extension
- The extension string (typically including the ".").Method Detail |
---|
public boolean accept(java.io.File file)
accept
in interface java.io.FileFilter
file
- The file to be (potentially) filtered.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |