Class LodFileFilter

java.lang.Object
  |
  +--javax.swing.filechooser.FileFilter
        |
        +--LodFileFilter

public class LodFileFilter
extends javax.swing.filechooser.FileFilter


Field Summary
private  boolean accepted
           
private  java.lang.String extension
           
private  java.lang.String filename
           
private  int period_index
           
 
Constructor Summary
LodFileFilter()
           
 
Method Summary
 boolean accept(java.io.File file)
          This method determines if any of the files in the current directory have the ".lod" extension.
 java.lang.String getDescription()
          This method returns the String that will be displayed in the file description section of the file dialog box.
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Field Detail

filename

private java.lang.String filename

extension

private java.lang.String extension

period_index

private int period_index

accepted

private boolean accepted
Constructor Detail

LodFileFilter

public LodFileFilter()
Method Detail

accept

public boolean accept(java.io.File file)
This method determines if any of the files in the current directory have the ".lod" extension. If they do, display there names in the file dialog box. Otherwise, toss them aside.
Overrides:
accept in class javax.swing.filechooser.FileFilter
See Also:
FileFilter

getDescription

public java.lang.String getDescription()
This method returns the String that will be displayed in the file description section of the file dialog box.
Overrides:
getDescription in class javax.swing.filechooser.FileFilter
See Also:
FileFilter