stella.jview
Class JFitsDisplay.HeadTailFileFilter
java.lang.Object
stella.jview.JFitsDisplay.HeadTailFileFilter
- All Implemented Interfaces:
- FileFilter
- Enclosing class:
- JFitsDisplay
private static class JFitsDisplay.HeadTailFileFilter
- extends Object
- implements FileFilter
Accepts files, whose name start with the constructor argument and
which end with JFitsCanvas#FITSEXTENSION.
|
Method Summary |
boolean |
accept(File path)
Accepts files, whose name start with header and
which end with JFitsCanvas#FITSEXTENSION. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
header
private String header
tail
private String tail
JFitsDisplay.HeadTailFileFilter
private JFitsDisplay.HeadTailFileFilter(String h,
String t)
accept
public boolean accept(File path)
- Accepts files, whose name start with
header and
which end with JFitsCanvas#FITSEXTENSION.
- Specified by:
accept in interface FileFilter