simtools.logging.ui
Class LoggingFileFilter
java.lang.Object
javax.swing.filechooser.FileFilter
simtools.logging.ui.LoggingFileFilter
public class LoggingFileFilter
- extends javax.swing.filechooser.FileFilter
Class LoggingFileFilter
This class defines the file filter designed for the logging viewer.
It will accepts The files extension defines in the static field LOGGING_FILE_EXTENSIONS.
Constructor Summary |
LoggingFileFilter(java.lang.String[] acceptedExtensions,
java.lang.String description)
Contructor LoggingFileFilter
Summary:
The constructor of the class LoggingFileFilter. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LoggingFileFilter
public LoggingFileFilter(java.lang.String[] acceptedExtensions,
java.lang.String description)
- Contructor LoggingFileFilter
Summary:
The constructor of the class LoggingFileFilter.
- Parameters:
acceptedExtensions
- The extension that will be accepted by the file filter.description
- The description to be returned by the fileFilter.
accept
public boolean accept(java.io.File pathname)
- Specified by:
accept
in class javax.swing.filechooser.FileFilter
getDescription
public java.lang.String getDescription()
- Specified by:
getDescription
in class javax.swing.filechooser.FileFilter