ptolemy.codegen.kernel
Class CodeGenerator.TargetFilter

java.lang.Object
  extended by ptolemy.codegen.kernel.CodeGenerator.TargetFilter
All Implemented Interfaces:
java.io.FilenameFilter
Enclosing class:
CodeGenerator

private static class CodeGenerator.TargetFilter
extends java.lang.Object
implements java.io.FilenameFilter

A FilenameFilter that looks for directories other than CVS.


Constructor Summary
private CodeGenerator.TargetFilter()
           
 
Method Summary
 boolean accept(java.io.File dir, java.lang.String name)
          Tests if the specified file in a directory is a directory other than "CVS".
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CodeGenerator.TargetFilter

private CodeGenerator.TargetFilter()
Method Detail

accept

public boolean accept(java.io.File dir,
                      java.lang.String name)
Tests if the specified file in a directory is a directory other than "CVS".

Specified by:
accept in interface java.io.FilenameFilter
Parameters:
dir - The directory in which the file is contained.
name - The name of the file in question.
Returns:
true if the file is a directory with a name other than CVS