Xj3D VRML/X3D Code API

org.web3d.util
Class VRMLFileFilter

java.lang.Object
  extended byjavax.swing.filechooser.FileFilter
      extended byorg.web3d.util.VRMLFileFilter

public class VRMLFileFilter
extends javax.swing.filechooser.FileFilter

File filter for restricting files to VRML types.

Version:
$Revision: 1.1 $
Author:
Alan Hudson

Constructor Summary
VRMLFileFilter()
          Create a new file filter for just VRML types.
 
Method Summary
 boolean accept(java.io.File f)
          Should we accept this file
 java.lang.String getDescription()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VRMLFileFilter

public VRMLFileFilter()
Create a new file filter for just VRML types.

Method Detail

accept

public boolean accept(java.io.File f)
Should we accept this file

Parameters:
f - The file to test
Returns:
true if acceptable

getDescription

public java.lang.String getDescription()

Xj3D VRML/X3D Code API

Copyright © 2001 - 2005 Web3D Consortium