ptolemy.actor.gui
Class ConfigurationApplication.ConfigurationFilenameFilter

java.lang.Object
  extended by ptolemy.actor.gui.ConfigurationApplication.ConfigurationFilenameFilter
All Implemented Interfaces:
java.io.FilenameFilter
Enclosing class:
ConfigurationApplication

static class ConfigurationApplication.ConfigurationFilenameFilter
extends java.lang.Object
implements java.io.FilenameFilter

Look for directories that contain files named configuration.xml and intro.htm.


Constructor Summary
ConfigurationApplication.ConfigurationFilenameFilter()
           
 
Method Summary
 boolean accept(java.io.File directory, java.lang.String name)
          Return true if the specified file names a directory that contains a file named configuration.xml and a file named intro.htm
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConfigurationApplication.ConfigurationFilenameFilter

ConfigurationApplication.ConfigurationFilenameFilter()
Method Detail

accept

public boolean accept(java.io.File directory,
                      java.lang.String name)
Return true if the specified file names a directory that contains a file named configuration.xml and a file named intro.htm

Specified by:
accept in interface java.io.FilenameFilter
Parameters:
directory - the directory in which the potential directory was found.
name - the name of the directory or file.
Returns:
true if the file is a directory that contains a file called configuration.xml