From: Santi B. <san...@us...> - 2007-08-04 11:37:52
|
Update of /cvsroot/babeldoc/babeldoc/modules/scanner/src/com/babeldoc/scanner In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv1742/modules/scanner/src/com/babeldoc/scanner Modified Files: ScannerWorker.java Log Message: 2007-08-04 Added readme/doc with javadoc generation 2007-03-15 Many changes: - MailboxScanner can filter by field TO - Can debug MailboxScanner - Add timeout connection parameter to MailboxScanner - MailboxScanner obtain the value of the properties: 'to', 'from' and 'reply to' - Add three parameters that they allowed to deny a regular expression from filters (to,from and reply) - Add encoding parameter to Pipeline Writefile - Pipeline HttpClient save cookie information - Add parameter to pipeline HttpClient. It indicates if we want copy attributes in the new document - Pipeline HttpClient can send files in the parameters of POST method. To Manage the MIME types automatically (from the extension of the file) when adding attached files - Names of attached files in SmtpWriterPipelineStage don't contains absolute path - When decompressing a file in DecompressionPipeline, the name and the extension of the decompressed file it's original name Index: ScannerWorker.java =================================================================== RCS file: /cvsroot/babeldoc/babeldoc/modules/scanner/src/com/babeldoc/scanner/ScannerWorker.java,v retrieving revision 1.38 retrieving revision 1.39 diff -C2 -d -r1.38 -r1.39 *** ScannerWorker.java 25 Jul 2004 17:25:39 -0000 1.38 --- ScannerWorker.java 4 Aug 2007 11:37:23 -0000 1.39 *************** *** 49,53 **** * $Header: * /cvsroot/babeldoc/babeldoc/modules/scanner/src/com/babeldoc/scanner/ScannerWorker.java,v ! * 1.30 2003/10/13 07:24:39 dejank Exp $ $DateTime$ $Author$ * */ --- 49,53 ---- * $Header: * /cvsroot/babeldoc/babeldoc/modules/scanner/src/com/babeldoc/scanner/ScannerWorker.java,v ! * 1.39 2007/03/15 07:24:39 paspes () Exp $ $DateTime$ $Author$ * */ *************** *** 256,260 **** */ protected String getFilter(String filterName) { ! return ((String) patterns.get(filterName)); } --- 256,261 ---- */ protected String getFilter(String filterName) { ! // return ((String) patterns.get(filterName)); ! return ( ((Pattern) patterns.get(filterName)).pattern() ); } *************** *** 419,423 **** * @return success flag */ ! protected boolean enqueue(byte[] data, Map attr) { if (attr == null) { attr = new HashMap(); --- 420,424 ---- * @return success flag */ ! protected boolean enqueue(byte[] data, Map attr) { if (attr == null) { attr = new HashMap(); *************** *** 431,435 **** FeedDocument feed = new FeedDocument(this.getPipelineName(), data, attr, isBinary(), !getInfo().getBooleanValue(ScannerWorkerInfo.JOURNAL)); ! try { log.logInfo("Document " + attr.get(FILE_NAME_KEY) --- 432,436 ---- FeedDocument feed = new FeedDocument(this.getPipelineName(), data, attr, isBinary(), !getInfo().getBooleanValue(ScannerWorkerInfo.JOURNAL)); ! try { log.logInfo("Document " + attr.get(FILE_NAME_KEY) *************** *** 595,599 **** return binary; } ! private String getEncoding() { String encoding = getInfo().getStrValue(ScannerWorkerInfo.ENCODING); --- 596,600 ---- return binary; } ! /* private String getEncoding() { String encoding = getInfo().getStrValue(ScannerWorkerInfo.ENCODING); *************** *** 604,606 **** --- 605,608 ---- } } + */ } |