com.onionnetworks.antflow.job
Class DirectoryHotFolderJob.AcceptRejectFileFilter
java.lang.Object
com.onionnetworks.antflow.job.DirectoryHotFolderJob.AcceptRejectFileFilter
- All Implemented Interfaces:
- java.io.FileFilter
- Enclosing class:
- DirectoryHotFolderJob
- public static class DirectoryHotFolderJob.AcceptRejectFileFilter
- extends java.lang.Object
- implements java.io.FileFilter
Allows for a single UNIX/DOS wildcard pattern for each accept and reject
and filters filees based on their name only. Files pass if both accept
matches and reject does not. The accept and reject values begin as '*'
and (empty), respectively. Case sensitivity defaults to that of the
underlying filesystem. All directories as passed through.
See bug 404 for an explanation of why it works that way.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
caseSensitive
boolean caseSensitive
DirectoryHotFolderJob.AcceptRejectFileFilter
public DirectoryHotFolderJob.AcceptRejectFileFilter()
DirectoryHotFolderJob.AcceptRejectFileFilter
public DirectoryHotFolderJob.AcceptRejectFileFilter(boolean c)
setAccept
public void setAccept(java.lang.String a)
setReject
public void setReject(java.lang.String r)
accept
public boolean accept(java.io.File file)
- Specified by:
accept in interface java.io.FileFilter
Copyright © 2003-2004 Onion Networks. All Rights Reserved.