Sun Adapter for Batch/FTP

com.stc.connector.batchadapter.util
Class FileNameFilter

java.lang.Object
  extended by com.stc.connector.batchadapter.util.FileNameFilter
All Implemented Interfaces:
java.io.FileFilter

public class FileNameFilter
extends java.lang.Object
implements java.io.FileFilter

jim.fu@sun.com TODO To change the template for this generated type comment go to Window - Preferences - Java - Code Style - Code Templates


Constructor Summary
FileNameFilter(java.lang.String fn, boolean isRegEx)
           
 
Method Summary
 boolean accept(java.io.File fx)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FileNameFilter

public FileNameFilter(java.lang.String fn,
                      boolean isRegEx)
               throws java.lang.Exception
Throws:
java.lang.Exception
Method Detail

accept

public boolean accept(java.io.File fx)
Specified by:
accept in interface java.io.FileFilter

Sun Adapter for Batch/FTP