com.xinapse.multisliceimage
Class LogFileChooser.LogFileFilter

java.lang.Object
  extended by javax.swing.filechooser.FileFilter
      extended by com.xinapse.multisliceimage.LogFileChooser.LogFileFilter
Enclosing class:
LogFileChooser

public static class LogFileChooser.LogFileFilter
extends javax.swing.filechooser.FileFilter

A javax.swing.filechooser.FileFilter suitable for selecting log files.


Method Summary
 boolean accept(java.io.File f)
          Whether the given file is accepted by this filter.
 java.lang.String getDescription()
          Returns the String "Log Files".
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getDescription

public java.lang.String getDescription()
Returns the String "Log Files".

Specified by:
getDescription in class javax.swing.filechooser.FileFilter
Returns:
the java.lang.String "Log Files".

accept

public boolean accept(java.io.File f)
Whether the given file is accepted by this filter.

Specified by:
accept in class javax.swing.filechooser.FileFilter


Copyright 2006-2011 Xinapse Systems Limited. All Rights Reserved.