jpos.config.simple.editor
Class JposEntryEditorFileFilter
java.lang.Object
|
+--javax.swing.filechooser.FileFilter
|
+--jpos.config.simple.editor.JposEntryEditorFileFilter
- class JposEntryEditorFileFilter
- extends javax.swing.filechooser.FileFilter
Simple filter class to accecpt xml and cfg files
- Since:
- 1.3 (SF 2K meeting)
- Author:
- E. Michael Maximilien (maxim@us.ibm.com)
Method Summary |
boolean |
accept(java.io.File pathname)
Tests whether or not the specified abstract pathname should be
included in a pathname list. |
java.lang.String |
getDescription()
|
Methods inherited from class java.lang.Object |
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
XML_ENTRIES_STRING
public static final java.lang.String XML_ENTRIES_STRING
SERIALIZED_ENTRIES_STRING
public static final java.lang.String SERIALIZED_ENTRIES_STRING
JposEntryEditorFileFilter
JposEntryEditorFileFilter()
accept
public boolean accept(java.io.File pathname)
- Tests whether or not the specified abstract pathname should be
included in a pathname list.
- Overrides:
accept
in class javax.swing.filechooser.FileFilter
- Parameters:
pathname
- The abstract pathname to be tested- Returns:
true
if and only if pathname
should be included
getDescription
public java.lang.String getDescription()
- Overrides:
getDescription
in class javax.swing.filechooser.FileFilter
- Returns:
- the description for this FileFilter
This API and code belongs to the JavaPOS committee please see LISCENCE file for details