|
From: bruce <br...@mc...> - 2003-03-27 16:32:54
|
Dejan, On Thursday 27 March 2003 11:19 am, Dejan Krsmanovic wrote: > Bruce, I am working on implementation of regular expression filtering in > scanners. Since I have no better idea there will be config options in each > scanners where filtering have sence. So in directory and ftp scanners > messages could be filtered by filename, and in case of mailbox scanner > subject and body (and maybe fromAddress) could be filtered. I will probably > drop code for include and exclude filters from dir scanners since they > could be used only for extensions not filename. Is it OK to delete it? Your call - you know the code. > Also, I think one filter per field is enough since you can express anything > you want in regular expressions (no need for some kind of include and > exclude filters for every field...). Yes - more than one expression is fine for now. > By the way, I will implement methods which deals with regular expression in > ScannerWorker class. Currently I use JDK 1.4 java.util.regex.* package but > we can later change this and use something that would work on older JDK > versions (Jakarta RegEx or ORO). It will be easy since there are only two > methods.. I dont know much about the jdk1.4 regex package. I do know that the ORO package is highly regarded. > I have also added 'format' config option in SmtpWriter, which can be used > to specify if message is in html or plain text. Default is plain of > course... > > Dejan > > > > > > > ------------------------------------------------------- > This SF.net email is sponsored by: > The Definitive IT and Networking Event. Be There! > NetWorld+Interop Las Vegas 2003 -- Register today! > http://ads.sourceforge.net/cgi-bin/redirect.pl?keyn0001en > _______________________________________________ > Babeldoc-devel mailing list > Bab...@li... > https://lists.sourceforge.net/lists/listinfo/babeldoc-devel |