SORTIE Java Interface  1
Public Member Functions | Static Public Member Functions | List of all members
sortie.gui.components.XMLFileFilter Class Reference

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

Inheritance diagram for sortie.gui.components.XMLFileFilter:

Public Member Functions

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

Static Public Member Functions

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

Detailed Description

This filters to only XML files for file choosers.

Copyright: Copyright (c) Charles D. Canham 2003

Company: Cary Institute of Ecosystem Studies

Author
Lora E. Murphy
Version
1.0


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

Member Function Documentation

◆ accept()

boolean sortie.gui.components.XMLFileFilter.accept ( File  pathname)

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

Parameters
pathnameFile'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)

◆ getDescription()

String sortie.gui.components.XMLFileFilter.getDescription ( )

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)

◆ getExtension()

static String sortie.gui.components.XMLFileFilter.getExtension ( File  f)
static

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

Parameters
fFilename
Returns
Extension


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


The documentation for this class was generated from the following file: