javawrapper::XMLFileFilter Class Reference

This filters to only XML files for file choosers. More...

List of all members.

Public Member Functions

boolean accept (File pathname)
 Whether or not to accept any given file and show it in the file chooser.
String getDescription ()
 Gets the file descriptor string to be shown in the file chooser.

Static Public Member Functions

static String getExtension (File f)
 I got this method from Utils.java from the java tutorial on using file filtering.


Detailed Description

This filters to only XML files for file choosers.

Copyright: Copyright (c) Charles D. Canham 2003

Company: Institute of Ecosystem Studies

Author:
Lora E. Murphy
Version:
1.0

Edit history:
------------------
April 28, 2004: Submitted in beta version (LEM)


Member Function Documentation

boolean javawrapper::XMLFileFilter::accept File  pathname  )  [inline]
 

Whether or not to accept any given file and show it in the file chooser.

Parameters:
pathname File's path and name.
Returns:
True if the file is to be shown in the chooser, and false if it is not.

Edit history:
------------------
April 28, 2004: Submitted in beta version (LEM)

String javawrapper::XMLFileFilter::getDescription  )  [inline]
 

Gets the file descriptor string to be shown in the file chooser.

Returns:
File descriptor string.

Edit history:
------------------
April 28, 2004: Submitted in beta version (LEM)

static String javawrapper::XMLFileFilter::getExtension File  f  )  [inline, static]
 

I got this method from Utils.java from the java tutorial on using file filtering.

Parameters:
f Filename
Returns:
Extension

Edit history:
------------------
April 28, 2004: Submitted in beta version (LEM)


The documentation for this class was generated from the following file:
Generated on Mon Mar 27 15:15:49 2006 for SORTIE Java Interface by  doxygen 1.4.6-NO