JLogView_.utils
Class LGFileFilter

java.lang.Object
  extended by javax.swing.filechooser.FileFilter
      extended by JLogView_.utils.LGFileFilter

public class LGFileFilter
extends javax.swing.filechooser.FileFilter

LGImageFilter is a FileFilter extension, that filters out non acceptable log files according to the log file extension.

See Also:
FileFilter

Constructor Summary
LGFileFilter()
           
 
Method Summary
 boolean accept(java.io.File f)
          This methods overriden from FileFilter tells how to accept a file given the details of the file.
 java.lang.String getDescription()
          This method overriden from FileFilter return a String giving the description of what filtering is being done by this FileFilter.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LGFileFilter

public LGFileFilter()
Method Detail

accept

public boolean accept(java.io.File f)
This methods overriden from FileFilter tells how to accept a file given the details of the file.

Specified by:
accept in class javax.swing.filechooser.FileFilter
Parameters:
f - the File object having all the file details.
See Also:
File

getDescription

public java.lang.String getDescription()
This method overriden from FileFilter return a String giving the description of what filtering is being done by this FileFilter.

Specified by:
getDescription in class javax.swing.filechooser.FileFilter
Returns:
a String giving the filter description