GNU Prolog for Java

gnu.prolog.vm.buildins.dialogs
Class TermFileFilter

java.lang.Object
  extended by javax.swing.filechooser.FileFilter
      extended by gnu.prolog.vm.buildins.dialogs.TermFileFilter

public class TermFileFilter
extends FileFilter

Author:
Michiel Hendriks

Field Summary
protected  String description
           
protected  Set<String> extension
           
 
Constructor Summary
TermFileFilter(Term term)
           
 
Method Summary
 boolean accept(File f)
           
 String getDescription()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

description

protected String description

extension

protected Set<String> extension
Constructor Detail

TermFileFilter

public TermFileFilter(Term term)
               throws PrologException
Throws:
PrologException
Method Detail

accept

public boolean accept(File f)
Specified by:
accept in class FileFilter

getDescription

public String getDescription()
Specified by:
getDescription in class FileFilter

GNU Prolog for Java