nl.utwente.ewi.hmi.taverna.scuflworkers.rshell
Class RshellFileFilter

java.lang.Object
  extended by javax.swing.filechooser.FileFilter
      extended by nl.utwente.ewi.hmi.taverna.scuflworkers.rshell.RshellFileFilter

public class RshellFileFilter
extends javax.swing.filechooser.FileFilter

class for filtering R files

Author:
Ingo Wassink

Constructor Summary
RshellFileFilter()
           
 
Method Summary
 boolean accept(java.io.File file)
          Method for checking whether a file is accepted
 java.lang.String getDescription()
          Method for getting the description
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RshellFileFilter

public RshellFileFilter()
Method Detail

accept

public boolean accept(java.io.File file)
Method for checking whether a file is accepted

Specified by:
accept in class javax.swing.filechooser.FileFilter
Parameters:
file - the file to be checked
Returns:
true if file ends with ".r"

getDescription

public java.lang.String getDescription()
Method for getting the description

Specified by:
getDescription in class javax.swing.filechooser.FileFilter
Returns:
the description