You can subscribe to this list here.
2003 |
Jan
|
Feb
(14) |
Mar
(107) |
Apr
(211) |
May
(93) |
Jun
(158) |
Jul
(159) |
Aug
(368) |
Sep
(188) |
Oct
(151) |
Nov
(115) |
Dec
(98) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2004 |
Jan
(25) |
Feb
|
Mar
(33) |
Apr
(28) |
May
(116) |
Jun
(2) |
Jul
(117) |
Aug
(19) |
Sep
(9) |
Oct
(2) |
Nov
|
Dec
(4) |
2005 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(1) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(2) |
Nov
(9) |
Dec
|
2006 |
Jan
|
Feb
|
Mar
(22) |
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2007 |
Jan
|
Feb
|
Mar
(6) |
Apr
|
May
|
Jun
|
Jul
|
Aug
(267) |
Sep
|
Oct
|
Nov
(6) |
Dec
(512) |
2008 |
Jan
(187) |
Feb
|
Mar
|
Apr
|
May
|
Jun
(3) |
Jul
(6) |
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2011 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(2) |
Nov
|
Dec
|
2012 |
Jan
|
Feb
|
Mar
|
Apr
(1) |
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: Santi B. <san...@us...> - 2007-12-08 15:05:35
|
Update of /cvsroot/babeldoc/babeldoc/.externalToolBuilders In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv20570/.externalToolBuilders Log Message: Directory /cvsroot/babeldoc/babeldoc/.externalToolBuilders added to the repository |
From: Santi B. <san...@us...> - 2007-12-04 00:27:46
|
Update of /cvsroot/babeldoc/modules/jabber In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv12375 Added Files: .classpath .project Log Message: Update smack.jar 3.0.4 and related changes. String externalization. --- NEW FILE: .project --- <?xml version="1.0" encoding="UTF-8"?> <projectDescription> <name>babeldoc_jabber</name> <comment></comment> <projects> </projects> <buildSpec> <buildCommand> <name>org.eclipse.jdt.core.javabuilder</name> <arguments> </arguments> </buildCommand> </buildSpec> <natures> <nature>org.eclipse.jdt.core.javanature</nature> </natures> </projectDescription> --- NEW FILE: .classpath --- <?xml version="1.0" encoding="UTF-8"?> <classpath> <classpathentry kind="src" path="src"/> <classpathentry kind="src" path="config"/> <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/> <classpathentry combineaccessrules="false" exported="true" kind="src" path="/babeldoc"/> <classpathentry kind="lib" path="lib/smack.jar"/> <classpathentry kind="lib" path="lib/smackx.jar"/> <classpathentry kind="output" path="build"/> </classpath> |
From: Santi B. <san...@us...> - 2007-12-04 00:27:46
|
Update of /cvsroot/babeldoc/modules/jabber/src/com/babeldoc/jabber/pipeline/stage In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv12375/src/com/babeldoc/jabber/pipeline/stage Modified Files: XmppWriterPipelineStage.java Added Files: XmppPipelineMessageListener.java Messages.java Log Message: Update smack.jar 3.0.4 and related changes. String externalization. Index: XmppWriterPipelineStage.java =================================================================== RCS file: /cvsroot/babeldoc/modules/jabber/src/com/babeldoc/jabber/pipeline/stage/XmppWriterPipelineStage.java,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** XmppWriterPipelineStage.java 14 Jan 2004 12:24:59 -0000 1.2 --- XmppWriterPipelineStage.java 4 Dec 2007 00:27:42 -0000 1.3 *************** *** 71,77 **** import org.apache.commons.lang.StringUtils; import org.jivesoftware.smack.Chat; ! import org.jivesoftware.smack.GroupChat; ! import org.jivesoftware.smack.SSLXMPPConnection; import org.jivesoftware.smack.XMPPConnection; import com.babeldoc.core.option.ConfigOption; --- 71,78 ---- import org.apache.commons.lang.StringUtils; import org.jivesoftware.smack.Chat; ! import org.jivesoftware.smack.ConnectionConfiguration; import org.jivesoftware.smack.XMPPConnection; + import org.jivesoftware.smack.XMPPException; + import org.jivesoftware.smackx.muc.MultiUserChat; import com.babeldoc.core.option.ConfigOption; *************** *** 82,91 **** import com.babeldoc.core.pipeline.stage.GenericWriterPipelineStage; - /** * This class is using for sending messaging using XMPP protocol (jabber). * ! * @author dejank ! * */ public class XmppWriterPipelineStage extends GenericWriterPipelineStage { --- 83,91 ---- import com.babeldoc.core.pipeline.stage.GenericWriterPipelineStage; /** * This class is using for sending messaging using XMPP protocol (jabber). * ! * @author dejank ! * */ public class XmppWriterPipelineStage extends GenericWriterPipelineStage { *************** *** 96,178 **** public static final String PASSWORD = "password"; public static final String RECIPIENTS = "recipients"; ! public static final String CHATROOM = "chatroom"; public static final String NICKNAME = "nickname"; ! public static final String SSL = "ssl"; ! ! ! public XmppWriterPipelineStage() { super(new PipelineStageInfo() { public String getName() { ! return "XmppWriter"; } public String getDescription() { ! return "Pipeline stage that use XMPP (Jabber) protocol for sending messages"; } public Collection getTypeSpecificOptions() { ! ArrayList options = new ArrayList(); ! options.add(new ConfigOption(HOST, IConfigOptionType.STRING, ! "jabber.org", false, "Jabber server name")); ! options.add(new ConfigOption(PORT, IConfigOptionType.INTEGER, ! "5222", false, "Port using for connecting. Defaults to 5222")); ! options.add(new ConfigOption(USERNAME, IConfigOptionType.STRING, null, ! true, "Jabber account name")); ! options.add(new ConfigOption(PASSWORD, IConfigOptionType.STRING, ! null, true, "Jabber account password")); ! options.add(new ConfigOption(RECIPIENTS, IConfigOptionType.STRING, ! null, false, "Comma separated list of recipients that should receive IM")); ! options.add(new ConfigOption(CHATROOM, ! IConfigOptionType.STRING, null, false, "Name of chatroom that should receive IM")); options.add(new ConfigOption(NICKNAME, ! IConfigOptionType.STRING, null, false, "Nickname used for chatrooms")); ! options.add(new ConfigOption(SSL, ! IConfigOptionType.BOOLEAN, "false", false, "Use ssl connections")); ! return options; } ! }); } ! ! /* (non-Javadoc) * @see com.babeldoc.core.pipeline.PipelineStage#process() */ ! public PipelineStageResult[] process() throws PipelineException ! { String host = this.getInfo().getStrValue(HOST); int port = this.getInfo().getIntValue(PORT); String username = this.getInfo().getStrValue(USERNAME); String password = this.getInfo().getStrValue(PASSWORD); ! String[] recipients = StringUtils.split(this.getInfo().getStrValue(RECIPIENTS), ","); String chatroom = this.getInfo().getStrValue(CHATROOM); String nickname = this.getInfo().getStrValue(NICKNAME); boolean useSSL = this.getInfo().getBooleanValue(SSL); ! XMPPConnection conn = null; ! GroupChat groupChat = null; String message = this.getContent(); try { if (useSSL) { ! conn = new SSLXMPPConnection(host, port); } else { ! conn = new XMPPConnection(host, port); } ! conn.login(username, password); ! for (int i = 0; i < recipients.length; i++) { ! Chat chat = conn.createChat(recipients[i]); chat.sendMessage(message); ! } if (chatroom != null && !"".equals(chatroom)) { ! GroupChat chat = conn.createGroupChat(chatroom); ! chat.sendMessage(message); } ! conn.close(); ! } catch (Exception xme) { throw new PipelineException("Error sending message", xme); ! //xme.printStackTrace(); } ! return this.processHelper(); } --- 96,192 ---- public static final String PASSWORD = "password"; public static final String RECIPIENTS = "recipients"; ! public static final String CHATROOM = "chatroom"; //$NON-NLS-1$ public static final String NICKNAME = "nickname"; ! public static final String SSL = Messages.getString("XmppWriterPipelineStage.7"); ! public XmppWriterPipelineStage() { super(new PipelineStageInfo() { public String getName() { ! return "XmppWriter"; } public String getDescription() { ! return Messages.getString("XmppWriterPipelineStage.9"); //$NON-NLS-1$ } public Collection getTypeSpecificOptions() { ! ArrayList options = new ArrayList(); ! options.add(new ConfigOption(HOST, IConfigOptionType.STRING, ! "jabber.org", false, Messages.getString("XmppWriterPipelineStage.11"))); ! options.add(new ConfigOption(PORT, IConfigOptionType.INTEGER, ! "5222", false, ! Messages.getString("XmppWriterPipelineStage.13"))); //$NON-NLS-1$ ! options.add(new ConfigOption(USERNAME, ! IConfigOptionType.STRING, null, true, ! Messages.getString("XmppWriterPipelineStage.14"))); //$NON-NLS-1$ ! options.add(new ConfigOption(PASSWORD, ! IConfigOptionType.STRING, null, true, ! Messages.getString("XmppWriterPipelineStage.15"))); //$NON-NLS-1$ ! options ! .add(new ConfigOption(RECIPIENTS, ! IConfigOptionType.STRING, null, false, ! Messages.getString("XmppWriterPipelineStage.16"))); //$NON-NLS-1$ ! options.add(new ConfigOption(CHATROOM, ! IConfigOptionType.STRING, null, false, ! Messages.getString("XmppWriterPipelineStage.17"))); //$NON-NLS-1$ options.add(new ConfigOption(NICKNAME, ! IConfigOptionType.STRING, null, false, ! Messages.getString("XmppWriterPipelineStage.18"))); //$NON-NLS-1$ ! options.add(new ConfigOption(SSL, IConfigOptionType.BOOLEAN, ! "false", false, Messages.getString("XmppWriterPipelineStage.20"))); //$NON-NLS-1$ //$NON-NLS-2$ ! return options; } ! }); } ! ! /* ! * (non-Javadoc) ! * * @see com.babeldoc.core.pipeline.PipelineStage#process() */ ! public PipelineStageResult[] process() throws PipelineException { String host = this.getInfo().getStrValue(HOST); int port = this.getInfo().getIntValue(PORT); String username = this.getInfo().getStrValue(USERNAME); String password = this.getInfo().getStrValue(PASSWORD); ! String[] recipients = StringUtils.split(this.getInfo().getStrValue( ! RECIPIENTS), ","); String chatroom = this.getInfo().getStrValue(CHATROOM); String nickname = this.getInfo().getStrValue(NICKNAME); boolean useSSL = this.getInfo().getBooleanValue(SSL); ! ConnectionConfiguration connConfig = null; ! XMPPConnection conn = null; ! MultiUserChat groupChat = null; String message = this.getContent(); try { if (useSSL) { ! // conn = new SSLXMPPConnection(host); ! throw new PipelineException("SSL Protocol not supported"); } else { ! connConfig = new ConnectionConfiguration(host,port); ! conn = new XMPPConnection(connConfig); ! } ! conn.login(username, password); ! for (int i = 0; i < recipients.length; i++) { ! Chat chat = conn.getChatManager().createChat(recipients[i], ! new XmppPipelineMessageListener()); chat.sendMessage(message); ! } if (chatroom != null && !"".equals(chatroom)) { ! // GroupChat chat = conn.createGroupChat(chatroom); ! // chat.sendMessage(message); ! groupChat.join(nickname, password); ! groupChat.sendMessage(message); } ! conn.disconnect(); ! } catch (XMPPException xme) { throw new PipelineException("Error sending message", xme); ! // xme.printStackTrace(); } ! return this.processHelper(); } --- NEW FILE: XmppPipelineMessageListener.java --- /** * */ package com.babeldoc.jabber.pipeline.stage; import org.jivesoftware.smack.Chat; import org.jivesoftware.smack.MessageListener; import org.jivesoftware.smack.XMPPException; import org.jivesoftware.smack.packet.Message; import com.babeldoc.core.pipeline.PipelineException; /** * @author santi * */ public class XmppPipelineMessageListener implements MessageListener { /* * (non-Javadoc) * * @see org.jivesoftware.smack.MessageListener#processMessage(org.jivesoftware.smack.Chat, * org.jivesoftware.smack.packet.Message) */ public void processMessage(Chat chat, Message message){ // Simple message processing parrot-bot try { chat.sendMessage(Messages.getString("XmppPipelineMessageListener.0") + message.toString()); //$NON-NLS-1$ } catch (XMPPException e) { // throw new pipeline exception new PipelineException(Messages.getString("XmppPipelineMessageListener.1"),e); //$NON-NLS-1$ } } } --- NEW FILE: Messages.java --- package com.babeldoc.jabber.pipeline.stage; import java.util.MissingResourceException; import java.util.ResourceBundle; public class Messages { private static final String BUNDLE_NAME = "i18n.messages"; //$NON-NLS-1$ private static final ResourceBundle RESOURCE_BUNDLE = ResourceBundle .getBundle(BUNDLE_NAME); private Messages() { } public static String getString(String key) { try { return RESOURCE_BUNDLE.getString(key); } catch (MissingResourceException e) { return '!' + key + '!'; } } } |
From: Santi B. <san...@us...> - 2007-12-04 00:27:41
|
Update of /cvsroot/babeldoc/modules/jabber/lib In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv12375/lib Modified Files: smack.jar Added Files: smackx.jar Log Message: Update smack.jar 3.0.4 and related changes. String externalization. Index: smack.jar =================================================================== RCS file: /cvsroot/babeldoc/modules/jabber/lib/smack.jar,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 Binary files /tmp/cvsHhUp3M and /tmp/cvs3hPFmB differ --- NEW FILE: smackx.jar --- (This appears to be a binary file; contents omitted.) |
From: Santi B. <san...@us...> - 2007-12-04 00:27:41
|
Update of /cvsroot/babeldoc/modules/jabber/config/i18n In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv12375/config/i18n Modified Files: messages.properties Log Message: Update smack.jar 3.0.4 and related changes. String externalization. Index: messages.properties =================================================================== RCS file: /cvsroot/babeldoc/modules/jabber/config/i18n/messages.properties,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** messages.properties 5 Dec 2003 23:40:34 -0000 1.2 --- messages.properties 4 Dec 2007 00:27:42 -0000 1.3 *************** *** 0 **** --- 1,13 ---- + XmppPipelineMessageListener.0=Received message: + XmppPipelineMessageListener.1=Can't send message to recipient. + XmppWriterPipelineStage.9=Pipeline stage that use XMPP (Jabber) protocol for sending messages + XmppWriterPipelineStage.11=Jabber server name + XmppWriterPipelineStage.13=Port using for connecting. Defaults to 5222 + XmppWriterPipelineStage.14=Jabber account name + XmppWriterPipelineStage.15=Jabber account password + XmppWriterPipelineStage.16=Comma separated list of recipients that should receive IM + XmppWriterPipelineStage.17=Name of chatroom that should receive IM + XmppWriterPipelineStage.18=Nickname used for chatrooms + XmppWriterPipelineStage.20=Use ssl connections + XmppWriterPipelineStage.22=SSL Protocol not supported + XmppWriterPipelineStage.24=Error sending message |
From: paspes <pa...@us...> - 2007-12-03 17:30:28
|
Update of /cvsroot/babeldoc/babeldoc/modules/gui/src/com/babeldoc/gui/scanner/rmiscanmon In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv20577/modules/gui/src/com/babeldoc/gui/scanner/rmiscanmon Modified Files: ScannerWorkerNode.java ScannerMonitorFrame.java Log Message: Activate RMI scanner (babeldoc scanmon) and add Scanner controler Index: ScannerMonitorFrame.java =================================================================== RCS file: /cvsroot/babeldoc/babeldoc/modules/gui/src/com/babeldoc/gui/scanner/rmiscanmon/ScannerMonitorFrame.java,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** ScannerMonitorFrame.java 25 Jul 2004 15:46:02 -0000 1.1 --- ScannerMonitorFrame.java 3 Dec 2007 16:37:19 -0000 1.2 *************** *** 67,70 **** --- 67,72 ---- import com.babeldoc.core.option.ConfigOption; + import com.babeldoc.core.option.IConfigData; + import com.babeldoc.core.option.IConfigInfo; import com.babeldoc.core.option.IConfigOptionType; *************** *** 87,90 **** --- 89,93 ---- import java.util.Enumeration; + import java.util.Iterator; import javax.swing.BorderFactory; *************** *** 107,110 **** --- 110,114 ---- import javax.swing.border.BevelBorder; import javax.swing.event.TreeSelectionEvent; + import javax.swing.event.TreeSelectionListener; import javax.swing.tree.DefaultMutableTreeNode; import javax.swing.tree.TreeNode; *************** *** 214,274 **** */ TreeNode createTree(IRemoteScanner scanner) { ! // try { ! // //scanner.configure(); ! // String[] threadNames = scanner.getScannerThreadNames(); ! // DefaultMutableTreeNode root = new DefaultMutableTreeNode("Scanners"); ! // ! // for (int i = 0; i < threadNames.length; i++) { ! // ScannerThreadConfig options = scanner.getThreadOptions(threadNames[i]); ! // DefaultMutableTreeNode scannerNode = new DefaultMutableTreeNode(new ScannerWorkerNode( ! // threadNames[i], scanner, options)); ! // ! // IConfigInfo optionsMeta = scanner.getWorkerInfoObject(threadNames[i]); ! // ! // Iterator optionKeys = options.getChildrenNameSet().iterator(); ! // scannerNode.add(new DefaultMutableTreeNode("name=" + threadNames[i])); ! // ! // DefaultMutableTreeNode configNode = new DefaultMutableTreeNode( ! // "Configurable options"); ! // ! // while (optionKeys.hasNext()) { ! // String optionKey = (String) optionKeys.next(); ! // ConfigOption optionMeta = optionsMeta.getActionOption(optionKey); ! // DefaultMutableTreeNode optionNode = new DefaultMutableTreeNode(new ScannerOptionNode( ! // optionMeta, options)); ! // ! // //add option node to config node if mutable ! // if (optionMeta.isMutable()) { ! // configNode.add(optionNode); ! // } else { ! // scannerNode.add(optionNode); ! // } ! // } ! // ! // //add config node to scanner node ! // scannerNode.add(configNode); ! // ! // //add scanner node to root node ! // root.add(scannerNode); ! // } ! // ! // //create tree ! // scannerTree = new JTree(root); ! // ! // //event handling ! // scannerTree.addTreeSelectionListener(new TreeSelectionListener() { ! // public void valueChanged(TreeSelectionEvent e) { ! // scannerTree_valueChanged(e); ! // } ! // }); ! // jScrollPane1.getViewport().add(scannerTree, null); ! // menuFileSave.setEnabled(true); ! // ! // return root; ! // } catch (Exception e) { ! // System.err.println(e.toString()); ! // } ! return null; } /** --- 218,283 ---- */ TreeNode createTree(IRemoteScanner scanner) { ! try { ! //scanner.configure(); ! //Paspes reemplazado String[] threadNames = scanner.getScannerThreadNames(); ! String[] threadNames = RemoteScannerClient.listThreadNames(scanner); ! DefaultMutableTreeNode root = new DefaultMutableTreeNode("Scanners"); ! ! for (int i = 0; i < threadNames.length; i++) { ! //Paspes remplazado ScannerThreadConfig options = scanner.getThreadOptions(threadNames[i]); ! IConfigData options = RemoteScannerClient.getThreadOptions(scanner,i); ! DefaultMutableTreeNode scannerNode = new DefaultMutableTreeNode(new ScannerWorkerNode( ! threadNames[i], scanner, options)); ! //Paspes reemplazado IConfigInfo optionsMeta = scanner.getWorkerInfoObject(threadNames[i]); ! IConfigInfo optionsMeta = RemoteScannerClient.getScannerConfiguration(scanner,i); ! ! Iterator optionKeys = options.getChildrenNameSet().iterator(); ! scannerNode.add(new DefaultMutableTreeNode("name=" + threadNames[i])); ! ! DefaultMutableTreeNode configNode = new DefaultMutableTreeNode("Configurable options"); ! ! while (optionKeys.hasNext()) { ! String optionKey = (String) optionKeys.next(); ! // Paspes reemplazado ConfigOption optionMeta = optionsMeta.getActionOption(optionKey); ! ConfigOption optionMeta = optionsMeta.getOption(optionKey); ! DefaultMutableTreeNode optionNode = new DefaultMutableTreeNode(new ScannerOptionNode(optionMeta, options)); ! ! //add option node to config node if mutable ! if (optionMeta.isMutable()) { ! configNode.add(optionNode); ! } else { ! scannerNode.add(optionNode); ! } ! } ! ! //add config node to scanner node ! scannerNode.add(configNode); ! ! //add scanner node to root node ! root.add(scannerNode); ! } ! ! //create tree ! scannerTree = new JTree(root); ! ! //event handling ! scannerTree.addTreeSelectionListener(new TreeSelectionListener() { ! public void valueChanged(TreeSelectionEvent e) { ! scannerTree_valueChanged(e); ! } ! }); ! ! jScrollPane1.getViewport().add(scannerTree, null); ! menuFileSave.setEnabled(true); ! ! return root; ! } catch (Exception e) { ! System.err.println(e.toString()); ! e.printStackTrace(); ! } ! return null; } + + /** *************** *** 435,441 **** if (!scannerNode.isScanning()) { scannerNode.resumeScanner(); ! System.out.println("Start " + scannerNode.getName() + "\n"); } else { ! System.out.println("Start " + scannerNode.getName() + "\n"); } } else { --- 444,451 ---- if (!scannerNode.isScanning()) { scannerNode.resumeScanner(); ! System.out.println("Restart " + scannerNode.getName() + " restarted"); } else { ! scannerNode.resumeScanner(); ! System.out.println( scannerNode.getName() + " resumed"); } } else { *************** *** 702,708 **** if (!scannerNode.isScanning()) { scannerNode.resumeScanner(); ! System.out.println("Resume " + scannerNode.getName() + "\n"); } else { ! System.out.println("Resume " + scannerNode.getName() + "\n"); } } else { --- 712,718 ---- if (!scannerNode.isScanning()) { scannerNode.resumeScanner(); ! System.out.println( scannerNode.getName() + " resumed"); } else { ! System.out.println(scannerNode.getName() + " not resumed because its started"); } } else { *************** *** 743,749 **** if (scannerNode.isScanning()) { scannerNode.pauseScanner(); ! System.out.println(scannerNode.getName() + " paused"); } else { ! System.out.println(scannerNode.getName() + " paused"); } } else { --- 753,759 ---- if (scannerNode.isScanning()) { scannerNode.pauseScanner(); ! System.out.println(scannerNode.getName() + " paused "); } else { ! System.out.println(scannerNode.getName() + " not paused because its stoped"); } } else { Index: ScannerWorkerNode.java =================================================================== RCS file: /cvsroot/babeldoc/babeldoc/modules/gui/src/com/babeldoc/gui/scanner/rmiscanmon/ScannerWorkerNode.java,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** ScannerWorkerNode.java 25 Jul 2004 15:46:02 -0000 1.1 --- ScannerWorkerNode.java 3 Dec 2007 16:37:19 -0000 1.2 *************** *** 67,70 **** --- 67,71 ---- import com.babeldoc.scanner.ScannerException; + import com.babeldoc.scanner.ScannerWorkerStatus; import com.babeldoc.scanner.ScannerWorkerVO; import com.babeldoc.scanner.rmi.IRemoteScanner; *************** *** 136,140 **** */ public boolean isScanning() throws RemoteException, ScannerException { ! return false; } --- 137,145 ---- */ public boolean isScanning() throws RemoteException, ScannerException { ! ScannerWorkerVO worker = scanner.getWorker(workerName); ! if (worker.getStatus().equals(ScannerWorkerStatus.STOPPED)) { ! return false; ! } ! return true; } *************** *** 161,165 **** // } - return lastDescription; } --- 166,169 ---- |
From: paspes <pa...@us...> - 2007-12-03 17:07:32
|
Update of /cvsroot/babeldoc/babeldoc/readme In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv20577/readme Modified Files: ChangeLog Log Message: Activate RMI scanner (babeldoc scanmon) and add Scanner controler Index: ChangeLog =================================================================== RCS file: /cvsroot/babeldoc/babeldoc/readme/ChangeLog,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** ChangeLog 12 Nov 2007 13:49:45 -0000 1.6 --- ChangeLog 3 Dec 2007 16:37:20 -0000 1.7 *************** *** 1,2 **** --- 1,5 ---- + 2007-02-03 + - Activate RMI scanner (babeldoc scanmon) + - Create Scanner controler 2007-11-12 * ChangeLog: |
From: paspes <pa...@us...> - 2007-12-03 17:07:11
|
Update of /cvsroot/babeldoc/babeldoc/modules/scanner/config/i18n In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv20577/modules/scanner/config/i18n Modified Files: messages.properties Log Message: Activate RMI scanner (babeldoc scanmon) and add Scanner controler Index: messages.properties =================================================================== RCS file: /cvsroot/babeldoc/babeldoc/modules/scanner/config/i18n/messages.properties,v retrieving revision 1.22 retrieving revision 1.23 diff -C2 -d -r1.22 -r1.23 *** messages.properties 4 Aug 2007 11:36:52 -0000 1.22 --- messages.properties 3 Dec 2007 16:37:19 -0000 1.23 *************** *** 4,8 **** scanner.Scanner.error.alreadyStopped=Tried to stop an already stopped scanner scanner.Scanner.error.alreadyStarted=Tried to start an already started scanner ! scanner.Scanner.error.rmi=Error starting RMI server for scanner {0} scanner.Scanner.toolDescription=Commandline tool to control remote scanners scanner.Scanner.info.stopping=Stopping thread: {0} --- 4,8 ---- scanner.Scanner.error.alreadyStopped=Tried to stop an already stopped scanner scanner.Scanner.error.alreadyStarted=Tried to start an already started scanner ! scanner.Scanner.error.rmi=Error starting RMI server for scanner.REMEMBER THAT "java.net.MalformedURLException" There are spaces in the directory names. Ex Temp. {0} scanner.Scanner.toolDescription=Commandline tool to control remote scanners scanner.Scanner.info.stopping=Stopping thread: {0} *************** *** 13,16 **** --- 13,17 ---- scanner.Scanner.option.rmi=Start scanner with RMI server for remote control scanner.Scanner.option.port=<port-number> Port number for the RMI server. Default is 1099 + scanner.Scanner.option.terminate=Babeldoc stops when all scanners finished scanner.Scanner.option.scanner=Configuration to be used for scanner. Default is scanner/config #ScannerConfig |
From: paspes <pa...@us...> - 2007-12-03 17:01:52
|
Update of /cvsroot/babeldoc/babeldoc/modules/core/src/com/babeldoc/core In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv20577/modules/core/src/com/babeldoc/core Modified Files: INamed.java Log Message: Activate RMI scanner (babeldoc scanmon) and add Scanner controler Index: INamed.java =================================================================== RCS file: /cvsroot/babeldoc/babeldoc/modules/core/src/com/babeldoc/core/INamed.java,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** INamed.java 30 Jul 2004 01:32:59 -0000 1.4 --- INamed.java 3 Dec 2007 16:37:19 -0000 1.5 *************** *** 66,69 **** --- 66,71 ---- package com.babeldoc.core; + import java.io.Serializable; + /** * micro interface - lots of the interfaces here are named - can set and get *************** *** 73,77 **** * @version 1.0 */ ! public interface INamed { /** * Set the name of the object. --- 75,79 ---- * @version 1.0 */ ! public interface INamed extends Serializable{ /** * Set the name of the object. |
From: paspes <pa...@us...> - 2007-12-03 17:01:38
|
Update of /cvsroot/babeldoc/babeldoc/modules/scanner/src/com/babeldoc/scanner In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv20577/modules/scanner/src/com/babeldoc/scanner Modified Files: ScannerWorker.java Scanner.java ScannerThread.java Added Files: ScannerController.java Log Message: Activate RMI scanner (babeldoc scanmon) and add Scanner controler Index: Scanner.java =================================================================== RCS file: /cvsroot/babeldoc/babeldoc/modules/scanner/src/com/babeldoc/scanner/Scanner.java,v retrieving revision 1.34 retrieving revision 1.35 diff -C2 -d -r1.34 -r1.35 *** Scanner.java 10 Aug 2004 10:49:06 -0000 1.34 --- Scanner.java 3 Dec 2007 16:37:18 -0000 1.35 *************** *** 95,98 **** --- 95,99 ---- private ScannerFactory factory; private ScannerWorkerScheduler scheduler; + private ScannerController controller; public static final int STATE_STOPPED = 0; *************** *** 102,105 **** --- 103,108 ---- public static final String SCANNER_FEEDER = "scanner"; private String scannerConfig; + private int rmiPort = -1; //Paspes + private boolean backgroud; //Paspes: Babeldoc stops when all scanners finished private int status = STATE_STOPPED; *************** *** 124,128 **** scannerConfig = commandLine.getOptionValue('s'); } ! try { start(); --- 127,154 ---- scannerConfig = commandLine.getOptionValue('s'); } ! ! // Paspes background option ! if (commandLine.hasOption('t')) { ! backgroud = false; ! } ! else{ ! backgroud = true; ! } ! ! //Paspes Read RMI options ! if (commandLine.hasOption('r')) { ! if (commandLine.hasOption('p')){ ! try{ ! rmiPort = new Integer(commandLine.getOptionValue('p')).intValue(); ! }catch (NumberFormatException nfe){ ! getLog().logError("Error scanner port invalid " + commandLine.getOptionValue('p'), ! nfe); ! } ! } ! else{ ! rmiPort = com.babeldoc.core.RmiRegistry.RMI_PORT; ! } ! getLog().logDebug("Load scanner rmi configuration on port "+ rmiPort); ! } try { start(); *************** *** 171,179 **** ScannerWorker[] workers = factory.getWorkers(); ScannerWorkerVO[] result = new ScannerWorkerVO[workers.length]; ! for (int i = 0; i < workers.length; i++) { result[i] = workers[i].getValueObject(); } ! return result; } --- 197,205 ---- ScannerWorker[] workers = factory.getWorkers(); ScannerWorkerVO[] result = new ScannerWorkerVO[workers.length]; ! for (int i = 0; i < workers.length; i++) { result[i] = workers[i].getValueObject(); } ! return result; } *************** *** 212,215 **** --- 238,248 ---- .withLongOpt("port") .create('p')); + options.addOption( + OptionBuilder + .isRequired(false) + .hasArg(false) + .withDescription(I18n.get("scanner.Scanner.option.terminate")) + .withLongOpt("terminate") + .create('t')); } *************** *** 223,231 **** try { setFeeder(FeederFactory.getInstance().getFeeder(SCANNER_FEEDER)); } catch (GeneralException e) { getLog().logError(e); } ! //handleRemoteServer(-1); getLog().logInfo("Initializing workers:"); --- 256,268 ---- try { + //Paspes MiniBug:SCANNER_FEEDER is the ONLY value of tokens feeder/config.properties + //Example SCANNER_FEEDER.type ==>scanner.type setFeeder(FeederFactory.getInstance().getFeeder(SCANNER_FEEDER)); } catch (GeneralException e) { getLog().logError(e); } ! //Paspes activate rmi scannner ! if(rmiPort>0 ) ! handleRemoteServer(rmiPort); getLog().logInfo("Initializing workers:"); *************** *** 246,249 **** --- 283,291 ---- } } + //Paspes: Controller finishes feeder if all scheduler finish + if (!backgroud) { + controller = new ScannerController(feeder,scheduler); + controller.start(); + } } else { log.logInfo("No configured workers found!"); *************** *** 279,282 **** --- 321,328 ---- getLog().logInfo("Stopping feeder"); } + if (controller!=null) {//Paspes + controller.stopThread(); + getLog().logInfo("Stopping controller"); + } status = Scanner.STATE_STOPPED; } *************** *** 303,307 **** System.setSecurityManager(new RMISecurityManager()); } - try { RemoteScannerBridge remoteScanner = null; --- 349,352 ---- *************** *** 318,323 **** RmiRegistry.rmiPort = port; } ! RmiRegistry.rebind(IRemoteScanner.RMI_NAME, remoteScanner); } catch (Exception e) { LogService.getInstance().logError( --- 363,370 ---- RmiRegistry.rmiPort = port; } ! RmiRegistry.rebind(IRemoteScanner.RMI_NAME, remoteScanner); + + getLog().logInfo("Scanner RMI activate on port "+ port); } catch (Exception e) { LogService.getInstance().logError( Index: ScannerWorker.java =================================================================== RCS file: /cvsroot/babeldoc/babeldoc/modules/scanner/src/com/babeldoc/scanner/ScannerWorker.java,v retrieving revision 1.39 retrieving revision 1.40 diff -C2 -d -r1.39 -r1.40 *** ScannerWorker.java 4 Aug 2007 11:37:23 -0000 1.39 --- ScannerWorker.java 3 Dec 2007 16:37:18 -0000 1.40 *************** *** 76,80 **** * implement doScan() method. * ! * @author dejank */ public abstract class ScannerWorker extends Named { --- 76,80 ---- * implement doScan() method. * ! * @author dejank,paspes */ public abstract class ScannerWorker extends Named { *************** *** 127,133 **** protected ScannerWorker(ScannerWorkerInfo info) { this.info = info; - setStatus(ScannerWorkerStatus.STOPPED); setValueObject(new ScannerWorkerVO()); getValueObject().setDateStarted(System.currentTimeMillis()); } --- 127,135 ---- protected ScannerWorker(ScannerWorkerInfo info) { this.info = info; setValueObject(new ScannerWorkerVO()); getValueObject().setDateStarted(System.currentTimeMillis()); + getValueObject().setNumberOfSuccessProcessed(0); + getValueObject().setNumberOfFailedDocuments(0); + setStatus(ScannerWorkerStatus.STOPPED); } *************** *** 301,305 **** --- 303,309 ---- this.setName(configData.getName()); + this.getValueObject().setName(configData.getName()); this.getValueObject().setConfig(configData); + this.getValueObject().setInfo(this.info); this.setStatus(ScannerWorkerStatus.STOPPED); getLog().logInfo( *************** *** 364,368 **** --- 368,374 ---- try { doScan(); + getValueObject().setNumberOfSuccessProcessed(getValueObject().getNumberOfSuccessProcessed()+1); } catch (ScannerException e) { + getValueObject().setNumberOfFailedDocuments(getValueObject().getNumberOfFailedDocuments()+1); //handle exception getLog().logError("Error scanning...", e); *************** *** 499,502 **** --- 505,509 ---- this.setLastStatusChangeTime(System.currentTimeMillis()); this.status = newStatus; + getValueObject().setStatus(newStatus); } --- NEW FILE: ScannerController.java --- /* ==================================================================== * The Apache Software License, Version 1.1 * * Copyright (c) 2000 The Apache Software Foundation. All rights * reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * 1. Redistributions of source code must retain the above copyright * notice, this list of conditions and the following disclaimer. * * 2. Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in * the documentation and/or other materials provided with the * distribution. * * 3. The end-user documentation included with the redistribution, * if any, must include the following acknowledgment: * "This product includes software developed by the * Apache Software Foundation (http://www.apache.org/)." * Alternately, this acknowledgment may appear in the software itself, * if and wherever such third-party acknowledgments normally appear. * * 4. The names "Apache" and "Apache Software Foundation" must * not be used to endorse or promote products derived from this * software without prior written permission. For written * permission, please contact ap...@ap.... * * 5. Products derived from this software may not be called "Apache", * nor may "Apache" appear in their name, without prior written * permission of the Apache Software Foundation. * * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE * DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * ==================================================================== * * This software consists of voluntary contributions made by many * individuals on behalf of the Apache Software Foundation. For more * information on the Apache Software Foundation, please see * <http://www.apache.org/>. * * Portions of this software are based upon public domain software * originally written at the National Center for Supercomputing Applications, * University of Illinois, Urbana-Champaign. * ==================================================================== * * Babeldoc: The Universal Document Processor * * $Header: /cvsroot/babeldoc/babeldoc/modules/scanner/src/com/babeldoc/scanner/ScannerController.java,v 1.1 2007/12/03 16:37:19 paspes Exp $ * $DateTime$ * $Author: paspes $ * */ /* * Created on 2007.10.25 * * To change this generated comment go to * Window>Preferences>Java>Code Generation>Code and Comments */ package com.babeldoc.scanner; import java.util.Iterator; import com.babeldoc.core.LogService; import com.babeldoc.core.pipeline.feeder.IFeeder; /** * This class controller the execution of ScannerThreads (and scannerWorkers) and Feeder * If detect that all scannnerThreads finished kill the Feeder * * @author paspes */ public class ScannerController extends Thread{ public volatile boolean running = true; private static long SLEEPTIME = 60000; private IFeeder feeder = null; private ScannerWorkerScheduler scheduler = null; /** * Creates a new ScannerController object. * * @param feeder Thread feeder * @param scheduler Scheduler that contains scanner threads */ public ScannerController(IFeeder feeder,ScannerWorkerScheduler scheduler){ this.feeder = feeder; this.scheduler = scheduler; } /** * Activate controller */ public void run() { LogService.getInstance().logInfo("Starting ScannerController"); while (running) { int count = 0; if(LogService.getInstance().isDebugEnabled()) LogService.getInstance().logDebug("ScannerController awaking..."); if(scheduler.getThreads()!=null&&scheduler.getThreads().keySet()!=null) { for (Iterator iterator = scheduler.getThreads().keySet().iterator(); iterator.hasNext();) { ScannerThread thread = (ScannerThread)scheduler.getThreads().get(iterator.next()); if(thread.running) count++; } LogService.getInstance().logDebug("ScannerController have "+ count +" ScannerThreads running"); if(count==0){ LogService.getInstance().logDebug("ScannerController terminate not found ScannerThreads running"); running = false; } } else{ LogService.getInstance().logDebug("ScannerController terminate not found ScannerThreads"); running = false; } try { if(running) sleep(SLEEPTIME); } catch (InterruptedException e) { LogService.getInstance().logInfo("Thread ScannerController interrupted"); } } if (feeder!=null) { feeder.terminate();//shutdownAfterProcessingCurrentlyQueuedTasks( LogService.getInstance().logInfo("Stopping feeder"); } LogService.getInstance().logInfo("Stopping ScannerController"); } /** * stop the controller */ public void stopThread() { running = false; } } Index: ScannerThread.java =================================================================== RCS file: /cvsroot/babeldoc/babeldoc/modules/scanner/src/com/babeldoc/scanner/ScannerThread.java,v retrieving revision 1.18 retrieving revision 1.19 diff -C2 -d -r1.18 -r1.19 *** ScannerThread.java 24 Jul 2004 00:18:52 -0000 1.18 --- ScannerThread.java 3 Dec 2007 16:37:18 -0000 1.19 *************** *** 114,118 **** } } ! LogService.getInstance().logDebug(this.getName() + "stopping"); } --- 114,118 ---- } } ! running = false; //Paspes LogService.getInstance().logDebug(this.getName() + "stopping"); } *************** *** 130,133 **** --- 130,137 ---- sleepTime = (((currentTime / 60000) + 1) * 60000) - currentTime; + //Paspes: windows system call System.currentTimeMillis() have a resolution error + if(System.getProperty("os.name").toUpperCase().indexOf("WINDOWS")>-1) + sleepTime+= 60; + //System.out.println( "return milliseconds before next minute,current: "+currentTime+" sleep:"+sleepTime ); } else { sleepTime = worker.getInfo().getIntValue(ScannerWorkerInfo.SCANNER_PERIOD); |
From: paspes <pa...@us...> - 2007-12-03 16:38:06
|
Update of /cvsroot/babeldoc/babeldoc/modules/scanner/src/com/babeldoc/scanner/rmi In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv20577/modules/scanner/src/com/babeldoc/scanner/rmi Modified Files: RemoteScannerClient.java Log Message: Activate RMI scanner (babeldoc scanmon) and add Scanner controler Index: RemoteScannerClient.java =================================================================== RCS file: /cvsroot/babeldoc/babeldoc/modules/scanner/src/com/babeldoc/scanner/rmi/RemoteScannerClient.java,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** RemoteScannerClient.java 14 Aug 2003 02:34:21 -0000 1.7 --- RemoteScannerClient.java 3 Dec 2007 16:37:18 -0000 1.8 *************** *** 68,73 **** --- 68,76 ---- import com.babeldoc.core.BabeldocCommand; import com.babeldoc.core.I18n; + import com.babeldoc.core.option.IConfigData; + import com.babeldoc.core.option.IConfigInfo; import com.babeldoc.scanner.ScannerException; + import com.babeldoc.scanner.ScannerWorkerVO; import org.apache.commons.cli.CommandLine; *************** *** 85,90 **** * <strong>IRemoteScanner</strong> Remote interface to control the scanner. * ! * @author Bmcdonald ! * @version 1.0 */ public class RemoteScannerClient extends BabeldocCommand { --- 88,93 ---- * <strong>IRemoteScanner</strong> Remote interface to control the scanner. * ! * @author Paspes ! * @version 1.8 */ public class RemoteScannerClient extends BabeldocCommand { *************** *** 224,236 **** * @throws RemoteException */ ! private void getScannerConfiguration(IRemoteScanner scanner) ! throws RemoteException { ! // IConfig config = scanner.getConfiguration(); ! // ! // for (Iterator i = config.getChildrenNameSet().iterator(); i.hasNext();) { ! // String key = i.next().toString(); ! // String value = config.getString(key); ! // System.out.println(key + " = " + value); ! // } } --- 227,237 ---- * @throws RemoteException */ ! public static IConfigInfo getScannerConfiguration(IRemoteScanner scanner, int index) ! throws ScannerException,RemoteException { ! ScannerWorkerVO[] workersVO = scanner.getWorkers(); ! if(index<workersVO.length){ ! return workersVO[index].getInfo(); ! } ! throw new ScannerException("Index not fount" + index + ". Length:" + workersVO.length); } *************** *** 244,257 **** * @throws ScannerException DOCUMENT ME! */ ! private void getThreadOptions(IRemoteScanner scanner, String name) ! throws RemoteException, ScannerException { ! // ScannerThreadConfig config = scanner.getThreadOptions(name); ! // if ((config != null) && (config.getChildrenNameSet().size() > 0)) { ! // for (Iterator i = config.getChildrenNameSet().iterator(); i.hasNext();) { ! // String key = i.next().toString(); ! // String value = config.getChild(key); ! // System.out.println(key + " = " + value); ! // } ! // } } --- 245,255 ---- * @throws ScannerException DOCUMENT ME! */ ! public static IConfigData getThreadOptions(IRemoteScanner scanner,int index) ! throws RemoteException, ScannerException { ! ScannerWorkerVO[] workersVO = scanner.getWorkers(); ! if(index<workersVO.length){ ! return workersVO[index].getConfig(); ! } ! throw new ScannerException("Index not fount" + index + ". Length:" + workersVO.length); } *************** *** 263,275 **** * @throws RemoteException */ ! private void listThreadNames(IRemoteScanner scanner) throws RemoteException { ! // String[] names = scanner.getScannerThreadNames(); ! // ! // if ((names != null) && (names.length > 0)) { ! // for (int i = 0; i < names.length; ++i) { ! // System.out.println(names[i]); ! // } ! // } } } --- 261,272 ---- * @throws RemoteException */ ! public static String[] listThreadNames(IRemoteScanner scanner) throws RemoteException { ! ScannerWorkerVO[] workersVO = scanner.getWorkers(); ! String[] names = new String[workersVO.length]; ! for (int i = 0; i < workersVO.length; ++i) { ! names[i] = workersVO[i].getName(); ! } ! return names; } } |
From: paspes <pa...@us...> - 2007-11-19 12:11:52
|
Update of /cvsroot/babeldoc/babeldoc/modules/core/src/com/babeldoc/core/option In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv25066/modules/core/src/com/babeldoc/core/option Modified Files: ConfigOption.java ConfigData.java Log Message: Bug resolution: [1119364 ] AsyncronusFeeder and error handlers Index: ConfigOption.java =================================================================== RCS file: /cvsroot/babeldoc/babeldoc/modules/core/src/com/babeldoc/core/option/ConfigOption.java,v retrieving revision 1.17 retrieving revision 1.18 diff -C2 -d -r1.17 -r1.18 *** ConfigOption.java 30 Jul 2004 01:33:01 -0000 1.17 --- ConfigOption.java 19 Nov 2007 12:10:23 -0000 1.18 *************** *** 427,431 **** public void addSuboption(ConfigOption suboption) { if (getSuboptions() == null) { ! suboptions = new HashMap(); } --- 427,431 ---- public void addSuboption(ConfigOption suboption) { if (getSuboptions() == null) { ! suboptions = new Hashtable(); } Index: ConfigData.java =================================================================== RCS file: /cvsroot/babeldoc/babeldoc/modules/core/src/com/babeldoc/core/option/ConfigData.java,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** ConfigData.java 30 Jul 2004 01:33:01 -0000 1.7 --- ConfigData.java 19 Nov 2007 12:10:24 -0000 1.8 *************** *** 1 **** ! /* ==================================================================== * The Apache Software License, Version 1.1 * * Copyright (c) 2000 The Apache Software Foundation. All rights * reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * 1. Redistributions of source code must retain the above copyright * notice, this list of conditions and the following disclaimer. * * 2. Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in * the documentation and/or other materials provided with the * distribution. * * 3. The end-user documentation included with the redistribution, * if any, must include the following acknowledgment: * "This product includes software developed by the * Apache Software Foundation (http://www.apache.org/)." * Alternately, this acknowledgment may appear in the software itself, * if and wherever such third-party acknowledgments normally appear. * * 4. The names "Apache" and "Apache Software Foundation" must * not be used to endorse or promote products derived from this * software without prior written permission. For written * permission, please contact ap...@ap.... * * 5. Products derived from this software may not be called "Apache", * nor may "Apache" appear in their name, without prior written * permission of the Apache Software Foundation. * * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE * DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * ==================================================================== * * This software consists of voluntary contributions made by many * individuals on behalf of the Apache Software Foundation. For more * information on the Apache Software Foundation, please see * <http://www.apache.org/>. * * Portions of this software are based upon public domain software * originally written at the National Center for Supercomputing Applications, * University of Illinois, Urbana-Champaign. * ==================================================================== * * Babeldoc: The Universal Document Processor * * $Header$ * $DateTime$ * $Author$ * */ package com.babeldoc.core.option; import java.io.IOException; import java.io.StringReader; import java.util.Collections; import java.util.HashMap; import java.util.Iterator; import java.util.Map; import java.util.Properties; import java.util.Set; import java.util.Stack; import java.util.StringTokenizer; import org.apache.commons.lang.builder.ToStringBuilder; import com.babeldoc.core.Named; import com.babeldoc.core.config.ConfigException; import com.babeldoc.core.config.ConfigService; import com.babeldoc.core.config.IConfig; import com.mindprod.csv.CSVReader; /** * This tree-like object represents data that is understood by <strong>Babeldoc</strong>. This is * used in pipelines and scanners. Each <code>ConfigData<code> object can have a string value * and a map of children. This constitutes the tree like structure of this object. * * @author Bmcdonald * @version 1.1 */ public class ConfigData extends Named implements IConfigData { /** The children of this configuration data object. */ private Map children = null; /** The current value (of this node).*/ private String value = null; /** * construct a null object. */ public ConfigData() { super(); } /** * Construct a named config. * * @param name of configdata */ public ConfigData(String name) { super(name); } /** * Construct a named config with a set of children. * * @param name configdata name * @param map children */ public ConfigData(String name, Map map) { super(name); this.children = map; } /** * Construct a named config with a value. * * @param name configdata name * @param value configdata value */ public ConfigData(String name, String value) { super(name); this.value = value; this.children = null; } /** * Construct a named config with a set of children and a value. * * @param name of this configuration data object * @param value value of this configuration * @param map children */ public ConfigData(String name, String value, Map map) { super(name); this.value = value; this.children = map; } /** * Get the number of child configs. * * @return number of children */ public int getNumberChildren() { if (children != null) { return children.size(); } else { return 0; } } /** * Set the configuration value. * * @param value new value */ public void setValue(String value) { this.value = value; } /** * Get the value of this config object. * * @return current value */ public String getValue() { return this.value; } /** * Get the value of the child object. * * @param childName name of the child object * @return the value of the child object */ public String getValue(String childName) { IConfigData child = this.getChild(childName); if (child != null) { return child.getValue(); } else { return null; } } /** * getChild the child pipelinestage configurations. * * @param name child name to seek * @return child object */ public IConfigData getChild(String name) { if (children == null) { children = new HashMap(); } return (ConfigData) children.get(name); } /** * getChild the child pipelinestage configurations. * * @return set of names of all the child objects */ public Set getChildrenNameSet() { if (children == null) { return Collections.EMPTY_SET; } return children.keySet(); } /** * Add the child to this configuration data object. The name of the child must * be set on the configuation data object. * * @param configData add a new child */ public void addChild(IConfigData configData) { if (children == null) { children = new HashMap(); } // System.out.println(this.getName()+" adding child: "+configData.getName()+" = "+configData.getValue()); this.children.put(configData.getName(), configData); } /** * remove the named child from the list of children of this * configuation data object. * * @param configData child to remove */ public void removeChild(IConfigData configData) { if (configData != null) { this.children.remove(configData.getName()); } } /** * Convert to a string. * * @return stringified */ public String toString() { return new ToStringBuilder(this) .append("name", getName()) .append("value", value) .append("children", children) .toString(); } /** * This will search down the supplied config data, looking for the matching * configuration data object all the while. This is very similar to a * hierarchical tree search. * * @param data root of the tree * @param pathbits path through the tree * * @return object at the end of path */ public static IConfigData getOptionInPath( IConfigData data, String[] pathbits) { if ((pathbits != null) && (pathbits.length > 0)) { data = data.getChild(pathbits[0]); if (data != null) { for (int i = 1; i < pathbits.length; ++i) { data = data.getChild(pathbits[i]); if (data == null) { return null; } } } return data; } return null; } /** * search down a path of config option names until option data name is found and * return it. * * @param path stringified path (like a directory) * @param data configuration data * @return object at the end of the path */ public static IConfigData getOptionDataInPath( IConfigData data, String path) { StringTokenizer st = new StringTokenizer(path, "/"); String[] pathParts = new String[st.countTokens()]; for (int i = 0; i < pathParts.length; ++i) { pathParts[i] = st.nextToken(); } return getOptionInPath(data, pathParts); } /** * Make a configuration data object with name 'rootName' from the * configuration system, using the configuration name. This takes the * place of the TieredConfigurationHelper * * @param rootName rootname of the configuration object * @param configName the path to the configuration data * @return nicely setup configuration object */ public static IConfigData getConfigData( String rootName, String configName) { IConfig config = ConfigService.getInstance().getConfig(configName); return getConfigData(rootName, config); } /** * Make a configuration data object with name 'rootName' from the * configuration system, using the configuration name. This takes the * place of the TieredConfigurationHelper * * @param rootName rootname of the configuration object * @param config the path to the configuration data * @return nicely setup configuration object */ public static IConfigData getConfigData(String rootName, IConfig config) { IConfigData data = new ConfigData(rootName); Set keys = config.keys(); for (Iterator i = keys.iterator(); i.hasNext();) { String key = (String) i.next(); String value = config.getString(key); try { CSVReader csvReader = new CSVReader(new StringReader(key), '.', '"', false, true); String[] tokens = csvReader.getAllFieldsInLine(); int numTokens = tokens.length; IConfigData working = data; for (int tokenCount = 0; tokenCount < numTokens; ++tokenCount) { String token = tokens[tokenCount]; if (working.getChild(token) == null) { working.addChild(new ConfigData(token)); } working = working.getChild(token); if (tokenCount == numTokens - 1) { working.setValue(value); } } } catch (IOException e) { // This should never happen } } return data; } /** * Extract the configuration data from the data object and place in the config * object ready to be persisted. * * @param config configuration object * @param data configdata object to extract the data from * @return filled config object * @throws ConfigException configuration exception */ public static IConfig getConfigFromData(IConfig config, IConfigData data) throws ConfigException { Stack names = new Stack(); getConfigFromData(data.getName(), config, data, names); return config; } /** * Extract the configuration data from the data object and place in the config * object ready to be persisted. * * @param stageName the name of the stage * @param config the configuration data to fill * @param data the configuration data object * @param names stack of names * @throws ConfigException configuration exception */ protected static void getConfigFromData( String stageName, IConfig config, IConfigData data, Stack names) throws ConfigException { if (data.getNumberChildren() > 0) { Set children = data.getChildrenNameSet(); for (Iterator iterator = children.iterator(); iterator.hasNext(); ) { String s = (String) iterator.next(); IConfigData child = data.getChild(s); names.add(child.getName()); getConfigFromData(stageName, config, child, names); } } else { // System.out.println("Data: " + data); StringBuffer sb = new StringBuffer(stageName + "."); for (Iterator iterator = names.iterator(); iterator.hasNext();) { String s = (String) iterator.next(); sb.append(s); if (iterator.hasNext()) { sb.append("."); } } String key = sb.toString(); String value = (data.getValue() == null) ? " " : data.getValue(); // System.out.println("Key found: " + key + " = " + value); config.setString(key, value); names.clear(); } } /** * Main method. * @param args command line. */ public static void main(String[] args) { class TestConfig extends Named implements IConfig { Properties props; TestConfig(String name, Properties props) { super(name); this.props = props; } public boolean isDirty() { return false; } public void setDirty(boolean dirty) { } public void setString(String key, String value) { props.setProperty(key, value); } public String getString(String name) { return props.getProperty(name); } public boolean hasKey(String name) { return props.getProperty(name) != null; } public Set keys() { return props.keySet(); } public Map getProperties() { return props; } } TestConfig cfg = new TestConfig("test", new Properties()); cfg.setString("roger.this", "that"); cfg.setString("roger.one", "1"); cfg.setString("roger.two", "2"); cfg.setString("roger.three", "3"); cfg.setString("roger.four", "4"); cfg.setString("roger.five", "5"); cfg.setString("roger.five.alpha", "5a"); cfg.setString("mike.two", "2"); cfg.setString("mike.three", "3"); cfg.setString("mike.four", "4"); cfg.setString("mike.five", "5"); cfg.setString("peter.\"four.alpha\"", "4"); cfg.setString("peter.\"five.beta\"", "5"); cfg.setString("\".info.broken\"", "aaa"); IConfigData data = getConfigData("root", cfg); System.out.println(data); // printMap(data, 0); } } \ No newline at end of file --- 1 ---- ! /* ==================================================================== * The Apache Software License, Version 1.1 * * Copyright (c) 2000 The Apache Software Foundation. All rights * reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * 1. Redistributions of source code must retain the above copyright * notice, this list of conditions and the following disclaimer. * * 2. Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in * the documentation and/or other materials provided with the * distribution. * * 3. The end-user documentation included with the redistribution, * if any, must include the following acknowledgment: * "This product includes software developed by the * Apache Software Foundation (http://www.apache.org/)." * Alternately, this acknowledgment may appear in the software itself, * if and wherever such third-party acknowledgments normally appear. * * 4. The names "Apache" and "Apache Software Foundation" must * not be used to endorse or promote products derived from this * software without prior written permission. For written * permission, please contact ap...@ap.... * * 5. Products derived from this software may not be called "Apache", * nor may "Apache" appear in their name, without prior written * permission of the Apache Software Foundation. * * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE * DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * ==================================================================== * * This software consists of voluntary contributions made by many * individuals on behalf of the Apache Software Foundation. For more * information on the Apache Software Foundation, please see * <http://www.apache.org/>. * * Portions of this software are based upon public domain software * originally written at the National Center for Supercomputing Applications, * University of Illinois, Urbana-Champaign. * ==================================================================== * * Babeldoc: The Universal Document Processor * * $Header$ * $DateTime$ * $Author$ * */ package com.babeldoc.core.option; import java.io.IOException; import java.io.StringReader; import java.util.Collections; import java.util.HashMap; import java.util.Hashtable; import java.util.Iterator; import java.util.Map; import java.util.Properties; import java.util.Set; import java.util.Stack; import java.util.StringTokenizer; import org.apache.commons.lang.builder.ToStringBuilder; import com.babeldoc.core.Named; import com.babeldoc.core.config.ConfigException; import com.babeldoc.core.config.ConfigService; import com.babeldoc.core.config.IConfig; import com.mindprod.csv.CSVReader; /** * This tree-like object represents data that is understood by <strong>Babeldoc</strong>. This is * used in pipelines and scanners. Each <code>ConfigData<code> object can have a string value * and a map of children. This constitutes the tree like structure of this object. * * @author Bmcdonald * @version 1.1 */ public class ConfigData extends Named implements IConfigData { /** The children of this configuration data object. */ private Map children = null; /** The current value (of this node).*/ private String value = null; /** * construct a null object. */ public ConfigData() { super(); } /** * Construct a named config. * * @param name of configdata */ public ConfigData(String name) { super(name); } /** * Construct a named config with a set of children. * * @param name configdata name * @param map children */ public ConfigData(String name, Map map) { super(name); this.children = map; } /** * Construct a named config with a value. * * @param name configdata name * @param value configdata value */ public ConfigData(String name, String value) { super(name); this.value = value; this.children = null; } /** * Construct a named config with a set of children and a value. * * @param name of this configuration data object * @param value value of this configuration * @param map children */ public ConfigData(String name, String value, Map map) { super(name); this.value = value; this.children = map; } /** * Get the number of child configs. * * @return number of children */ public int getNumberChildren() { if (children != null) { return children.size(); } else { return 0; } } /** * Set the configuration value. * * @param value new value */ public void setValue(String value) { this.value = value; } /** * Get the value of this config object. * * @return current value */ public String getValue() { return this.value; } /** * Get the value of the child object. * * @param childName name of the child object * @return the value of the child object */ public String getValue(String childName) { IConfigData child = this.getChild(childName); if (child != null) { return child.getValue(); } else { return null; } } /** * getChild the child pipelinestage configurations. * * @param name child name to seek * @return child object */ public IConfigData getChild(String name) { if (children == null) { children = new Hashtable (); } return (ConfigData) children.get(name); } /** * getChild the child pipelinestage configurations. * * @return set of names of all the child objects */ public Set getChildrenNameSet() { if (children == null) { return Collections.EMPTY_SET; } return children.keySet(); } /** * Add the child to this configuration data object. The name of the child must * be set on the configuation data object. * * @param configData add a new child */ public void addChild(IConfigData configData) { if (children == null) { children = new HashMap(); } // System.out.println(this.getName()+" adding child: "+configData.getName()+" = "+configData.getValue()); this.children.put(configData.getName(), configData); } /** * remove the named child from the list of children of this * configuation data object. * * @param configData child to remove */ public void removeChild(IConfigData configData) { if (configData != null) { this.children.remove(configData.getName()); } } /** * Convert to a string. * * @return stringified */ public String toString() { return new ToStringBuilder(this) .append("name", getName()) .append("value", value) .append("children", children) .toString(); } /** * This will search down the supplied config data, looking for the matching * configuration data object all the while. This is very similar to a * hierarchical tree search. * * @param data root of the tree * @param pathbits path through the tree * * @return object at the end of path */ public static IConfigData getOptionInPath( IConfigData data, String[] pathbits) { if ((pathbits != null) && (pathbits.length > 0)) { data = data.getChild(pathbits[0]); if (data != null) { for (int i = 1; i < pathbits.length; ++i) { data = data.getChild(pathbits[i]); if (data == null) { return null; } } } return data; } return null; } /** * search down a path of config option names until option data name is found and * return it. * * @param path stringified path (like a directory) * @param data configuration data * @return object at the end of the path */ public static IConfigData getOptionDataInPath( IConfigData data, String path) { StringTokenizer st = new StringTokenizer(path, "/"); String[] pathParts = new String[st.countTokens()]; for (int i = 0; i < pathParts.length; ++i) { pathParts[i] = st.nextToken(); } return getOptionInPath(data, pathParts); } /** * Make a configuration data object with name 'rootName' from the * configuration system, using the configuration name. This takes the * place of the TieredConfigurationHelper * * @param rootName rootname of the configuration object * @param configName the path to the configuration data * @return nicely setup configuration object */ public static IConfigData getConfigData( String rootName, String configName) { IConfig config = ConfigService.getInstance().getConfig(configName); return getConfigData(rootName, config); } /** * Make a configuration data object with name 'rootName' from the * configuration system, using the configuration name. This takes the * place of the TieredConfigurationHelper * * @param rootName rootname of the configuration object * @param config the path to the configuration data * @return nicely setup configuration object */ public static IConfigData getConfigData(String rootName, IConfig config) { IConfigData data = new ConfigData(rootName); Set keys = config.keys(); for (Iterator i = keys.iterator(); i.hasNext();) { String key = (String) i.next(); String value = config.getString(key); try { CSVReader csvReader = new CSVReader(new StringReader(key), '.', '"', false, true); String[] tokens = csvReader.getAllFieldsInLine(); int numTokens = tokens.length; IConfigData working = data; for (int tokenCount = 0; tokenCount < numTokens; ++tokenCount) { String token = tokens[tokenCount]; if (working.getChild(token) == null) { working.addChild(new ConfigData(token)); } working = working.getChild(token); if (tokenCount == numTokens - 1) { working.setValue(value); } } } catch (IOException e) { // This should never happen } } return data; } /** * Extract the configuration data from the data object and place in the config * object ready to be persisted. * * @param config configuration object * @param data configdata object to extract the data from * @return filled config object * @throws ConfigException configuration exception */ public static IConfig getConfigFromData(IConfig config, IConfigData data) throws ConfigException { Stack names = new Stack(); getConfigFromData(data.getName(), config, data, names); return config; } /** * Extract the configuration data from the data object and place in the config * object ready to be persisted. * * @param stageName the name of the stage * @param config the configuration data to fill * @param data the configuration data object * @param names stack of names * @throws ConfigException configuration exception */ protected static void getConfigFromData( String stageName, IConfig config, IConfigData data, Stack names) throws ConfigException { if (data.getNumberChildren() > 0) { Set children = data.getChildrenNameSet(); for (Iterator iterator = children.iterator(); iterator.hasNext(); ) { String s = (String) iterator.next(); IConfigData child = data.getChild(s); names.add(child.getName()); getConfigFromData(stageName, config, child, names); } } else { // System.out.println("Data: " + data); StringBuffer sb = new StringBuffer(stageName + "."); for (Iterator iterator = names.iterator(); iterator.hasNext();) { String s = (String) iterator.next(); sb.append(s); if (iterator.hasNext()) { sb.append("."); } } String key = sb.toString(); String value = (data.getValue() == null) ? " " : data.getValue(); // System.out.println("Key found: " + key + " = " + value); config.setString(key, value); names.clear(); } } /** * Main method. * @param args command line. */ public static void main(String[] args) { class TestConfig extends Named implements IConfig { Properties props; TestConfig(String name, Properties props) { super(name); this.props = props; } public boolean isDirty() { return false; } public void setDirty(boolean dirty) { } public void setString(String key, String value) { props.setProperty(key, value); } public String getString(String name) { return props.getProperty(name); } public boolean hasKey(String name) { return props.getProperty(name) != null; } public Set keys() { return props.keySet(); } public Map getProperties() { return props; } } TestConfig cfg = new TestConfig("test", new Properties()); cfg.setString("roger.this", "that"); cfg.setString("roger.one", "1"); cfg.setString("roger.two", "2"); cfg.setString("roger.three", "3"); cfg.setString("roger.four", "4"); cfg.setString("roger.five", "5"); cfg.setString("roger.five.alpha", "5a"); cfg.setString("mike.two", "2"); cfg.setString("mike.three", "3"); cfg.setString("mike.four", "4"); cfg.setString("mike.five", "5"); cfg.setString("peter.\"four.alpha\"", "4"); cfg.setString("peter.\"five.beta\"", "5"); cfg.setString("\".info.broken\"", "aaa"); IConfigData data = getConfigData("root", cfg); System.out.println(data); // printMap(data, 0); } } \ No newline at end of file |
From: paspes <pa...@us...> - 2007-11-19 12:11:52
|
Update of /cvsroot/babeldoc/babeldoc/modules/core/src/com/babeldoc/core In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv25066/modules/core/src/com/babeldoc/core Modified Files: Pair.java Log Message: Bug resolution: [1119364 ] AsyncronusFeeder and error handlers Index: Pair.java =================================================================== RCS file: /cvsroot/babeldoc/babeldoc/modules/core/src/com/babeldoc/core/Pair.java,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** Pair.java 30 Jul 2004 01:32:59 -0000 1.5 --- Pair.java 19 Nov 2007 12:10:24 -0000 1.6 *************** *** 68,72 **** import org.apache.commons.lang.builder.ToStringBuilder; ! import java.util.HashMap; import java.util.Map; --- 68,72 ---- import org.apache.commons.lang.builder.ToStringBuilder; ! import java.util.Hashtable; import java.util.Map; *************** *** 112,116 **** */ public static Map getMap(Pair[] pairs) { ! HashMap map = new HashMap(); for (int i = 0; i < pairs.length; ++i) { --- 112,116 ---- */ public static Map getMap(Pair[] pairs) { ! Hashtable map = new Hashtable(); for (int i = 0; i < pairs.length; ++i) { |
From: paspes <pa...@us...> - 2007-11-19 12:11:23
|
Update of /cvsroot/babeldoc/babeldoc/modules/core/src/com/babeldoc/core/config In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv25066/modules/core/src/com/babeldoc/core/config Modified Files: DefaultConfig.java ConfigChangeNotifier.java Log Message: Bug resolution: [1119364 ] AsyncronusFeeder and error handlers Index: DefaultConfig.java =================================================================== RCS file: /cvsroot/babeldoc/babeldoc/modules/core/src/com/babeldoc/core/config/DefaultConfig.java,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** DefaultConfig.java 30 Jul 2004 01:32:59 -0000 1.3 --- DefaultConfig.java 19 Nov 2007 12:10:12 -0000 1.4 *************** *** 68,72 **** import com.babeldoc.core.Named; ! import java.util.HashMap; import java.util.Map; import java.util.Set; --- 68,72 ---- import com.babeldoc.core.Named; ! import java.util.Hashtable; import java.util.Map; import java.util.Set; *************** *** 101,105 **** super(name); this.service = service; ! data = new HashMap(); } --- 101,105 ---- super(name); this.service = service; ! data = new Hashtable(); } *************** *** 114,118 **** super(name); this.service = service; ! this.data = new HashMap(properties); } --- 114,118 ---- super(name); this.service = service; ! this.data = new Hashtable(properties); } Index: ConfigChangeNotifier.java =================================================================== RCS file: /cvsroot/babeldoc/babeldoc/modules/core/src/com/babeldoc/core/config/ConfigChangeNotifier.java,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** ConfigChangeNotifier.java 30 Jul 2004 01:32:59 -0000 1.3 --- ConfigChangeNotifier.java 19 Nov 2007 12:10:23 -0000 1.4 *************** *** 1 **** ! /* ==================================================================== * The Apache Software License, Version 1.1 * * Copyright (c) 2000 The Apache Software Foundation. All rights * reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * 1. Redistributions of source code must retain the above copyright * notice, this list of conditions and the following disclaimer. * * 2. Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in * the documentation and/or other materials provided with the * distribution. * * 3. The end-user documentation included with the redistribution, * if any, must include the following acknowledgment: * "This product includes software developed by the * Apache Software Foundation (http://www.apache.org/)." * Alternately, this acknowledgment may appear in the software itself, * if and wherever such third-party acknowledgments normally appear. * * 4. The names "Apache" and "Apache Software Foundation" must * not be used to endorse or promote products derived from this * software without prior written permission. For written * permission, please contact ap...@ap.... * * 5. Products derived from this software may not be called "Apache", * nor may "Apache" appear in their name, without prior written * permission of the Apache Software Foundation. * * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE * DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * ==================================================================== * * This software consists of voluntary contributions made by many * individuals on behalf of the Apache Software Foundation. For more * information on the Apache Software Foundation, please see * <http://www.apache.org/>. * * Portions of this software are based upon public domain software * originally written at the National Center for Supercomputing Applications, * University of Illinois, Urbana-Champaign. * ==================================================================== * * Babeldoc: The Universal Document Processor * * $Header$ * $DateTime$ * $Author$ * */ package com.babeldoc.core.config; import java.util.Map; import java.util.HashMap; import java.util.Iterator; /** * An implementation for the IConfigChangeNotifier. * * @author Bmcdonald * @version 1.3 */ public class ConfigChangeNotifier { Map listeners = new HashMap(); /** * Add a configuration change listener. This configuration change listener is * always fired when a configuration changes - it responds to changes in any * configuration. * * @param listener listener to add */ public void addConfigChangeListener(IConfigChangeListener listener) { listeners.put(listener, new String[]{ }); } /** * Add a configuration change listener to this object and a configuration * that this listener is interested in. * * @param listener the listener to recieve notifications * @param config the configuration of interest */ public void addConfigChangeListener(IConfigChangeListener listener, String config) { listeners.put(listener, new String[]{config}); } /** * Add a configuration change listener to this object and a configuration * that this listener is interested in. * * @param listener the listener to recieve notifications * @param configs the configurations of interest */ public void addConfigChangeListener(IConfigChangeListener listener, String[] configs) { listeners.put(listener, configs); } /** * remove the listener from the list of configuration change listeners. * * @param listener the listener to remove */ public void removeConfigChangeListener(IConfigChangeListener listener) { listeners.remove(listener); } /** * Fire event to all the configurations that are interested in this event. * * @param config configuration name */ public void configChanged(String config) { for (Iterator keys = listeners.keySet().iterator(); keys.hasNext();) { IConfigChangeListener listener = (IConfigChangeListener) keys.next(); String[] configs = (String[]) listeners.get(listener); // If the config is null or the list of interested configs for this // listener is null, then fire the change if (config == null || configs == null || configs.length == 0) { listener.configChanged(new ConfigChangeEvent(config)); } else { // Otherwise try and find the changed configuration in the // list of configs that this listener is interested in. for (int i = 0; i < configs.length; ++i) { if (config.equals(configs[i])) { listener.configChanged(new ConfigChangeEvent(config)); } } } } } } \ No newline at end of file --- 1 ---- ! /* ==================================================================== * The Apache Software License, Version 1.1 * * Copyright (c) 2000 The Apache Software Foundation. All rights * reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * 1. Redistributions of source code must retain the above copyright * notice, this list of conditions and the following disclaimer. * * 2. Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in * the documentation and/or other materials provided with the * distribution. * * 3. The end-user documentation included with the redistribution, * if any, must include the following acknowledgment: * "This product includes software developed by the * Apache Software Foundation (http://www.apache.org/)." * Alternately, this acknowledgment may appear in the software itself, * if and wherever such third-party acknowledgments normally appear. * * 4. The names "Apache" and "Apache Software Foundation" must * not be used to endorse or promote products derived from this * software without prior written permission. For written * permission, please contact ap...@ap.... * * 5. Products derived from this software may not be called "Apache", * nor may "Apache" appear in their name, without prior written * permission of the Apache Software Foundation. * * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE * DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * ==================================================================== * * This software consists of voluntary contributions made by many * individuals on behalf of the Apache Software Foundation. For more * information on the Apache Software Foundation, please see * <http://www.apache.org/>. * * Portions of this software are based upon public domain software * originally written at the National Center for Supercomputing Applications, * University of Illinois, Urbana-Champaign. * ==================================================================== * * Babeldoc: The Universal Document Processor * * $Header$ * $DateTime$ * $Author$ * */ package com.babeldoc.core.config; import java.util.Map; import java.util.Hashtable; import java.util.Iterator; /** * An implementation for the IConfigChangeNotifier. * * @author Bmcdonald * @version 1.3 */ public class ConfigChangeNotifier { Map listeners = new Hashtable(); /** * Add a configuration change listener. This configuration change listener is * always fired when a configuration changes - it responds to changes in any * configuration. * * @param listener listener to add */ public void addConfigChangeListener(IConfigChangeListener listener) { listeners.put(listener, new String[]{ }); } /** * Add a configuration change listener to this object and a configuration * that this listener is interested in. * * @param listener the listener to recieve notifications * @param config the configuration of interest */ public void addConfigChangeListener(IConfigChangeListener listener, String config) { listeners.put(listener, new String[]{config}); } /** * Add a configuration change listener to this object and a configuration * that this listener is interested in. * * @param listener the listener to recieve notifications * @param configs the configurations of interest */ public void addConfigChangeListener(IConfigChangeListener listener, String[] configs) { listeners.put(listener, configs); } /** * remove the listener from the list of configuration change listeners. * * @param listener the listener to remove */ public void removeConfigChangeListener(IConfigChangeListener listener) { listeners.remove(listener); } /** * Fire event to all the configurations that are interested in this event. * * @param config configuration name */ public void configChanged(String config) { for (Iterator keys = listeners.keySet().iterator(); keys.hasNext();) { IConfigChangeListener listener = (IConfigChangeListener) keys.next(); String[] configs = (String[]) listeners.get(listener); // If the config is null or the list of interested configs for this // listener is null, then fire the change if (config == null || configs == null || configs.length == 0) { listener.configChanged(new ConfigChangeEvent(config)); } else { // Otherwise try and find the changed configuration in the // list of configs that this listener is interested in. for (int i = 0; i < configs.length; ++i) { if (config.equals(configs[i])) { listener.configChanged(new ConfigChangeEvent(config)); } } } } } } \ No newline at end of file |
From: paspes <pa...@us...> - 2007-11-12 14:07:18
|
Update of /cvsroot/babeldoc/babeldoc/modules/sql/src/com/babeldoc/sql/pipeline/stage In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv4789/modules/sql/src/com/babeldoc/sql/pipeline/stage Modified Files: SqlQueryPipelineStage.java Log Message: Bug id:1830428 SqlQueryPipelineStage: Can create XML files with selected document encoding Index: SqlQueryPipelineStage.java =================================================================== RCS file: /cvsroot/babeldoc/babeldoc/modules/sql/src/com/babeldoc/sql/pipeline/stage/SqlQueryPipelineStage.java,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** SqlQueryPipelineStage.java 24 Jul 2004 00:18:54 -0000 1.7 --- SqlQueryPipelineStage.java 12 Nov 2007 13:44:22 -0000 1.8 *************** *** 95,100 **** * could then be operated upon using the other pipeline stages. * ! * @author dejank ! * @version 1.1 **/ public class SqlQueryPipelineStage --- 95,100 ---- * could then be operated upon using the other pipeline stages. * ! * @author paspes ! * @version 1.8 **/ public class SqlQueryPipelineStage *************** *** 180,184 **** Document document = DocumentFactory.getInstance().createDocument(); Element root = document.addElement(QUERY_RESULTS); ! Connection conn = null; Statement stmt = null; --- 180,184 ---- Document document = DocumentFactory.getInstance().createDocument(); Element root = document.addElement(QUERY_RESULTS); ! Connection conn = null; Statement stmt = null; *************** *** 270,274 **** */ private PipelineDocument createPipelineDocument(Document document) { ! OutputFormat outformat = OutputFormat.createCompactFormat(); StringWriter stringWriter = new StringWriter(); XMLWriter writer = new XMLWriter(stringWriter, outformat); --- 270,277 ---- */ private PipelineDocument createPipelineDocument(Document document) { ! OutputFormat outformat = new OutputFormat(); ! // 2007-11-08 Paspes Write XML files with selected document encoding ! // OutputFormat outformat = OutputFormat.createCompactFormat(); ! outformat.setEncoding(this.getOptions(ENCODING)); StringWriter stringWriter = new StringWriter(); XMLWriter writer = new XMLWriter(stringWriter, outformat); |
From: paspes <pa...@us...> - 2007-11-12 13:49:43
|
Update of /cvsroot/babeldoc/babeldoc/readme In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv6772/readme Modified Files: ChangeLog Log Message: Bug id:1830428 and 1830431 Index: ChangeLog =================================================================== RCS file: /cvsroot/babeldoc/babeldoc/readme/ChangeLog,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** ChangeLog 4 Aug 2007 11:37:22 -0000 1.5 --- ChangeLog 12 Nov 2007 13:49:45 -0000 1.6 *************** *** 1,2 **** --- 1,7 ---- + 2007-11-12 + * ChangeLog: + - SqlQueryPipelineStage Can create XML files with selected document encoding + - Add NullScanner to default config of loader class + 2007-08-04 Added readme/doc with javadoc generation *************** *** 28,32 **** 2003-09-24 10:44 dejank ! * ChangeLog: [no log message] 2003-09-17 18:13 triphop --- 33,37 ---- 2003-09-24 10:44 dejank ! 2003-09-17 18:13 triphop |
From: paspes <pa...@us...> - 2007-11-12 13:49:20
|
Update of /cvsroot/babeldoc/babeldoc/modules/scanner/config/service In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv5605/modules/scanner/config/service Modified Files: query.properties Log Message: Bug id:1830431 Add NullScanner to default config of loader class. Add key config into /babeldoc/modules/scanner/config/service/query.properties Index: query.properties =================================================================== RCS file: /cvsroot/babeldoc/babeldoc/modules/scanner/config/service/query.properties,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** query.properties 25 Jul 2004 15:35:26 -0000 1.7 --- query.properties 12 Nov 2007 13:47:02 -0000 1.8 *************** *** 8,11 **** --- 8,12 ---- ScannerWorker.application=com.babeldoc.scanner.worker.ExternalApplicationScanner ScannerWorker.http=com.babeldoc.scanner.worker.HttpScanner + ScannerWorker.null=com.babeldoc.scanner.worker.NullScanner Command.scanner=com.babeldoc.scanner.Scanner |
From: Santi B. <san...@us...> - 2007-08-04 13:34:18
|
Update of /cvsroot/babeldoc/babeldoc/readme/doc/com/babeldoc/soap/module In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv27263/readme/doc/com/babeldoc/soap/module Log Message: Directory /cvsroot/babeldoc/babeldoc/readme/doc/com/babeldoc/soap/module added to the repository |
From: Santi B. <san...@us...> - 2007-08-04 13:34:17
|
Update of /cvsroot/babeldoc/babeldoc/readme/doc/com/babeldoc/j2ee/pipeline In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv27263/readme/doc/com/babeldoc/j2ee/pipeline Log Message: Directory /cvsroot/babeldoc/babeldoc/readme/doc/com/babeldoc/j2ee/pipeline added to the repository |
From: Santi B. <san...@us...> - 2007-08-04 13:34:11
|
Update of /cvsroot/babeldoc/babeldoc/readme/doc/com/babeldoc/j2ee/scanner In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv27263/readme/doc/com/babeldoc/j2ee/scanner Log Message: Directory /cvsroot/babeldoc/babeldoc/readme/doc/com/babeldoc/j2ee/scanner added to the repository |
From: Santi B. <san...@us...> - 2007-08-04 13:26:28
|
Update of /cvsroot/babeldoc/babeldoc/readme/doc/com/babeldoc/soap/pipeline/util/class-use In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv1742/readme/doc/com/babeldoc/soap/pipeline/util/class-use Added Files: SoapHelper.html 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 --- NEW FILE: SoapHelper.html --- <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <!--NewPage--> <HTML> <HEAD> <!-- Generated by javadoc (build 1.6.0) on Sat Aug 04 01:00:14 CEST 2007 --> <TITLE> Uses of Class com.babeldoc.soap.pipeline.util.SoapHelper </TITLE> <META NAME="date" CONTENT="2007-08-04"> <LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../../../stylesheet.css" TITLE="Style"> <SCRIPT type="text/javascript"> function windowTitle() { if (location.href.indexOf('is-external=true') == -1) { parent.document.title="Uses of Class com.babeldoc.soap.pipeline.util.SoapHelper"; } } </SCRIPT> <NOSCRIPT> </NOSCRIPT> </HEAD> <BODY BGCOLOR="white" onload="windowTitle();"> <HR> <!-- ========= START OF TOP NAVBAR ======= --> <A NAME="navbar_top"><!-- --></A> <A HREF="#skip-navbar_top" title="Skip navigation links"></A> <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> <TR> <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A NAME="navbar_top_firstrow"><!-- --></A> <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> <TR ALIGN="center" VALIGN="top"> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../com/babeldoc/soap/pipeline/util/SoapHelper.html" title="class in com.babeldoc.soap.pipeline.util"><FONT CLASS="NavBarFont1"><B>Class</B></FONT></A> </TD> <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Use</B></FONT> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> </TR> </TABLE> </TD> <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> </EM> </TD> </TR> <TR> <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> PREV NEXT</FONT></TD> <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../../../../index.html?com/babeldoc/soap/pipeline/util/\class-useSoapHelper.html" target="_top"><B>FRAMES</B></A> <A HREF="SoapHelper.html" target="_top"><B>NO FRAMES</B></A> <SCRIPT type="text/javascript"> <!-- if(window==top) { document.writeln('<A HREF="../../../../../../allclasses-noframe.html"><B>All Classes</B></A>'); } //--> </SCRIPT> <NOSCRIPT> <A HREF="../../../../../../allclasses-noframe.html"><B>All Classes</B></A> </NOSCRIPT> </FONT></TD> </TR> </TABLE> <A NAME="skip-navbar_top"></A> <!-- ========= END OF TOP NAVBAR ========= --> <HR> <CENTER> <H2> <B>Uses of Class<br>com.babeldoc.soap.pipeline.util.SoapHelper</B></H2> </CENTER> No usage of com.babeldoc.soap.pipeline.util.SoapHelper <P> <HR> <!-- ======= START OF BOTTOM NAVBAR ====== --> <A NAME="navbar_bottom"><!-- --></A> <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A> <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> <TR> <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A NAME="navbar_bottom_firstrow"><!-- --></A> <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> <TR ALIGN="center" VALIGN="top"> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../com/babeldoc/soap/pipeline/util/SoapHelper.html" title="class in com.babeldoc.soap.pipeline.util"><FONT CLASS="NavBarFont1"><B>Class</B></FONT></A> </TD> <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Use</B></FONT> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> </TR> </TABLE> </TD> <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> </EM> </TD> </TR> <TR> <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> PREV NEXT</FONT></TD> <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../../../../index.html?com/babeldoc/soap/pipeline/util/\class-useSoapHelper.html" target="_top"><B>FRAMES</B></A> <A HREF="SoapHelper.html" target="_top"><B>NO FRAMES</B></A> <SCRIPT type="text/javascript"> <!-- if(window==top) { document.writeln('<A HREF="../../../../../../allclasses-noframe.html"><B>All Classes</B></A>'); } //--> </SCRIPT> <NOSCRIPT> <A HREF="../../../../../../allclasses-noframe.html"><B>All Classes</B></A> </NOSCRIPT> </FONT></TD> </TR> </TABLE> <A NAME="skip-navbar_bottom"></A> <!-- ======== END OF BOTTOM NAVBAR ======= --> <HR> </BODY> </HTML> |
From: Santi B. <san...@us...> - 2007-08-04 13:26:28
|
Update of /cvsroot/babeldoc/babeldoc/readme/doc/com/babeldoc/xslfo/pipeline/stage/class-use In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv1742/readme/doc/com/babeldoc/xslfo/pipeline/stage/class-use Added Files: MyLogger.html SvgTranscodePipelineStage.html XslFoTransformPipelineStage.html 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 --- NEW FILE: MyLogger.html --- <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <!--NewPage--> <HTML> <HEAD> <!-- Generated by javadoc (build 1.6.0) on Sat Aug 04 01:00:19 CEST 2007 --> <TITLE> Uses of Class com.babeldoc.xslfo.pipeline.stage.MyLogger </TITLE> <META NAME="date" CONTENT="2007-08-04"> <LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../../../stylesheet.css" TITLE="Style"> <SCRIPT type="text/javascript"> function windowTitle() { if (location.href.indexOf('is-external=true') == -1) { parent.document.title="Uses of Class com.babeldoc.xslfo.pipeline.stage.MyLogger"; } } </SCRIPT> <NOSCRIPT> </NOSCRIPT> </HEAD> <BODY BGCOLOR="white" onload="windowTitle();"> <HR> <!-- ========= START OF TOP NAVBAR ======= --> <A NAME="navbar_top"><!-- --></A> <A HREF="#skip-navbar_top" title="Skip navigation links"></A> <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> <TR> <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A NAME="navbar_top_firstrow"><!-- --></A> <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> <TR ALIGN="center" VALIGN="top"> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../com/babeldoc/xslfo/pipeline/stage/MyLogger.html" title="class in com.babeldoc.xslfo.pipeline.stage"><FONT CLASS="NavBarFont1"><B>Class</B></FONT></A> </TD> <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Use</B></FONT> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> </TR> </TABLE> </TD> <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> </EM> </TD> </TR> <TR> <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> PREV NEXT</FONT></TD> <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../../../../index.html?com/babeldoc/xslfo/pipeline/stage/\class-useMyLogger.html" target="_top"><B>FRAMES</B></A> <A HREF="MyLogger.html" target="_top"><B>NO FRAMES</B></A> <SCRIPT type="text/javascript"> <!-- if(window==top) { document.writeln('<A HREF="../../../../../../allclasses-noframe.html"><B>All Classes</B></A>'); } //--> </SCRIPT> <NOSCRIPT> <A HREF="../../../../../../allclasses-noframe.html"><B>All Classes</B></A> </NOSCRIPT> </FONT></TD> </TR> </TABLE> <A NAME="skip-navbar_top"></A> <!-- ========= END OF TOP NAVBAR ========= --> <HR> <CENTER> <H2> <B>Uses of Class<br>com.babeldoc.xslfo.pipeline.stage.MyLogger</B></H2> </CENTER> No usage of com.babeldoc.xslfo.pipeline.stage.MyLogger <P> <HR> <!-- ======= START OF BOTTOM NAVBAR ====== --> <A NAME="navbar_bottom"><!-- --></A> <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A> <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> <TR> <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A NAME="navbar_bottom_firstrow"><!-- --></A> <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> <TR ALIGN="center" VALIGN="top"> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../com/babeldoc/xslfo/pipeline/stage/MyLogger.html" title="class in com.babeldoc.xslfo.pipeline.stage"><FONT CLASS="NavBarFont1"><B>Class</B></FONT></A> </TD> <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Use</B></FONT> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> </TR> </TABLE> </TD> <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> </EM> </TD> </TR> <TR> <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> PREV NEXT</FONT></TD> <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../../../../index.html?com/babeldoc/xslfo/pipeline/stage/\class-useMyLogger.html" target="_top"><B>FRAMES</B></A> <A HREF="MyLogger.html" target="_top"><B>NO FRAMES</B></A> <SCRIPT type="text/javascript"> <!-- if(window==top) { document.writeln('<A HREF="../../../../../../allclasses-noframe.html"><B>All Classes</B></A>'); } //--> </SCRIPT> <NOSCRIPT> <A HREF="../../../../../../allclasses-noframe.html"><B>All Classes</B></A> </NOSCRIPT> </FONT></TD> </TR> </TABLE> <A NAME="skip-navbar_bottom"></A> <!-- ======== END OF BOTTOM NAVBAR ======= --> <HR> </BODY> </HTML> --- NEW FILE: SvgTranscodePipelineStage.html --- <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <!--NewPage--> <HTML> <HEAD> <!-- Generated by javadoc (build 1.6.0) on Sat Aug 04 01:00:19 CEST 2007 --> <TITLE> Uses of Class com.babeldoc.xslfo.pipeline.stage.SvgTranscodePipelineStage </TITLE> <META NAME="date" CONTENT="2007-08-04"> <LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../../../stylesheet.css" TITLE="Style"> <SCRIPT type="text/javascript"> function windowTitle() { if (location.href.indexOf('is-external=true') == -1) { parent.document.title="Uses of Class com.babeldoc.xslfo.pipeline.stage.SvgTranscodePipelineStage"; } } </SCRIPT> <NOSCRIPT> </NOSCRIPT> </HEAD> <BODY BGCOLOR="white" onload="windowTitle();"> <HR> <!-- ========= START OF TOP NAVBAR ======= --> <A NAME="navbar_top"><!-- --></A> <A HREF="#skip-navbar_top" title="Skip navigation links"></A> <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> <TR> <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A NAME="navbar_top_firstrow"><!-- --></A> <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> <TR ALIGN="center" VALIGN="top"> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../com/babeldoc/xslfo/pipeline/stage/SvgTranscodePipelineStage.html" title="class in com.babeldoc.xslfo.pipeline.stage"><FONT CLASS="NavBarFont1"><B>Class</B></FONT></A> </TD> <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Use</B></FONT> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> </TR> </TABLE> </TD> <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> </EM> </TD> </TR> <TR> <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> PREV NEXT</FONT></TD> <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../../../../index.html?com/babeldoc/xslfo/pipeline/stage/\class-useSvgTranscodePipelineStage.html" target="_top"><B>FRAMES</B></A> <A HREF="SvgTranscodePipelineStage.html" target="_top"><B>NO FRAMES</B></A> <SCRIPT type="text/javascript"> <!-- if(window==top) { document.writeln('<A HREF="../../../../../../allclasses-noframe.html"><B>All Classes</B></A>'); } //--> </SCRIPT> <NOSCRIPT> <A HREF="../../../../../../allclasses-noframe.html"><B>All Classes</B></A> </NOSCRIPT> </FONT></TD> </TR> </TABLE> <A NAME="skip-navbar_top"></A> <!-- ========= END OF TOP NAVBAR ========= --> <HR> <CENTER> <H2> <B>Uses of Class<br>com.babeldoc.xslfo.pipeline.stage.SvgTranscodePipelineStage</B></H2> </CENTER> No usage of com.babeldoc.xslfo.pipeline.stage.SvgTranscodePipelineStage <P> <HR> <!-- ======= START OF BOTTOM NAVBAR ====== --> <A NAME="navbar_bottom"><!-- --></A> <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A> <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> <TR> <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A NAME="navbar_bottom_firstrow"><!-- --></A> <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> <TR ALIGN="center" VALIGN="top"> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../com/babeldoc/xslfo/pipeline/stage/SvgTranscodePipelineStage.html" title="class in com.babeldoc.xslfo.pipeline.stage"><FONT CLASS="NavBarFont1"><B>Class</B></FONT></A> </TD> <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Use</B></FONT> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> </TR> </TABLE> </TD> <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> </EM> </TD> </TR> <TR> <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> PREV NEXT</FONT></TD> <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../../../../index.html?com/babeldoc/xslfo/pipeline/stage/\class-useSvgTranscodePipelineStage.html" target="_top"><B>FRAMES</B></A> <A HREF="SvgTranscodePipelineStage.html" target="_top"><B>NO FRAMES</B></A> <SCRIPT type="text/javascript"> <!-- if(window==top) { document.writeln('<A HREF="../../../../../../allclasses-noframe.html"><B>All Classes</B></A>'); } //--> </SCRIPT> <NOSCRIPT> <A HREF="../../../../../../allclasses-noframe.html"><B>All Classes</B></A> </NOSCRIPT> </FONT></TD> </TR> </TABLE> <A NAME="skip-navbar_bottom"></A> <!-- ======== END OF BOTTOM NAVBAR ======= --> <HR> </BODY> </HTML> --- NEW FILE: XslFoTransformPipelineStage.html --- <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <!--NewPage--> <HTML> <HEAD> <!-- Generated by javadoc (build 1.6.0) on Sat Aug 04 01:00:19 CEST 2007 --> <TITLE> Uses of Class com.babeldoc.xslfo.pipeline.stage.XslFoTransformPipelineStage </TITLE> <META NAME="date" CONTENT="2007-08-04"> <LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../../../stylesheet.css" TITLE="Style"> <SCRIPT type="text/javascript"> function windowTitle() { if (location.href.indexOf('is-external=true') == -1) { parent.document.title="Uses of Class com.babeldoc.xslfo.pipeline.stage.XslFoTransformPipelineStage"; } } </SCRIPT> <NOSCRIPT> </NOSCRIPT> </HEAD> <BODY BGCOLOR="white" onload="windowTitle();"> <HR> <!-- ========= START OF TOP NAVBAR ======= --> <A NAME="navbar_top"><!-- --></A> <A HREF="#skip-navbar_top" title="Skip navigation links"></A> <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> <TR> <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A NAME="navbar_top_firstrow"><!-- --></A> <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> <TR ALIGN="center" VALIGN="top"> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../com/babeldoc/xslfo/pipeline/stage/XslFoTransformPipelineStage.html" title="class in com.babeldoc.xslfo.pipeline.stage"><FONT CLASS="NavBarFont1"><B>Class</B></FONT></A> </TD> <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Use</B></FONT> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> </TR> </TABLE> </TD> <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> </EM> </TD> </TR> <TR> <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> PREV NEXT</FONT></TD> <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../../../../index.html?com/babeldoc/xslfo/pipeline/stage/\class-useXslFoTransformPipelineStage.html" target="_top"><B>FRAMES</B></A> <A HREF="XslFoTransformPipelineStage.html" target="_top"><B>NO FRAMES</B></A> <SCRIPT type="text/javascript"> <!-- if(window==top) { document.writeln('<A HREF="../../../../../../allclasses-noframe.html"><B>All Classes</B></A>'); } //--> </SCRIPT> <NOSCRIPT> <A HREF="../../../../../../allclasses-noframe.html"><B>All Classes</B></A> </NOSCRIPT> </FONT></TD> </TR> </TABLE> <A NAME="skip-navbar_top"></A> <!-- ========= END OF TOP NAVBAR ========= --> <HR> <CENTER> <H2> <B>Uses of Class<br>com.babeldoc.xslfo.pipeline.stage.XslFoTransformPipelineStage</B></H2> </CENTER> No usage of com.babeldoc.xslfo.pipeline.stage.XslFoTransformPipelineStage <P> <HR> <!-- ======= START OF BOTTOM NAVBAR ====== --> <A NAME="navbar_bottom"><!-- --></A> <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A> <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> <TR> <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A NAME="navbar_bottom_firstrow"><!-- --></A> <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> <TR ALIGN="center" VALIGN="top"> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../com/babeldoc/xslfo/pipeline/stage/XslFoTransformPipelineStage.html" title="class in com.babeldoc.xslfo.pipeline.stage"><FONT CLASS="NavBarFont1"><B>Class</B></FONT></A> </TD> <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Use</B></FONT> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> </TR> </TABLE> </TD> <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> </EM> </TD> </TR> <TR> <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> PREV NEXT</FONT></TD> <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../../../../index.html?com/babeldoc/xslfo/pipeline/stage/\class-useXslFoTransformPipelineStage.html" target="_top"><B>FRAMES</B></A> <A HREF="XslFoTransformPipelineStage.html" target="_top"><B>NO FRAMES</B></A> <SCRIPT type="text/javascript"> <!-- if(window==top) { document.writeln('<A HREF="../../../../../../allclasses-noframe.html"><B>All Classes</B></A>'); } //--> </SCRIPT> <NOSCRIPT> <A HREF="../../../../../../allclasses-noframe.html"><B>All Classes</B></A> </NOSCRIPT> </FONT></TD> </TR> </TABLE> <A NAME="skip-navbar_bottom"></A> <!-- ======== END OF BOTTOM NAVBAR ======= --> <HR> </BODY> </HTML> |
From: Santi B. <san...@us...> - 2007-08-04 13:18:54
|
Update of /cvsroot/babeldoc/babeldoc/readme/doc/com/babeldoc/gui/treetable/class-use In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv27263/readme/doc/com/babeldoc/gui/treetable/class-use Log Message: Directory /cvsroot/babeldoc/babeldoc/readme/doc/com/babeldoc/gui/treetable/class-use added to the repository |
From: Santi B. <san...@us...> - 2007-08-04 13:02:10
|
Update of /cvsroot/babeldoc/babeldoc/readme/doc/com/babeldoc/babelfish/module/class-use In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv1742/readme/doc/com/babeldoc/babelfish/module/class-use Added Files: BabelfishModule.html 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 --- NEW FILE: BabelfishModule.html --- <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <!--NewPage--> <HTML> <HEAD> <!-- Generated by javadoc (build 1.6.0) on Sat Aug 04 01:00:16 CEST 2007 --> <TITLE> Uses of Class com.babeldoc.babelfish.module.BabelfishModule </TITLE> <META NAME="date" CONTENT="2007-08-04"> <LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../../stylesheet.css" TITLE="Style"> <SCRIPT type="text/javascript"> function windowTitle() { if (location.href.indexOf('is-external=true') == -1) { parent.document.title="Uses of Class com.babeldoc.babelfish.module.BabelfishModule"; } } </SCRIPT> <NOSCRIPT> </NOSCRIPT> </HEAD> <BODY BGCOLOR="white" onload="windowTitle();"> <HR> <!-- ========= START OF TOP NAVBAR ======= --> <A NAME="navbar_top"><!-- --></A> <A HREF="#skip-navbar_top" title="Skip navigation links"></A> <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> <TR> <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A NAME="navbar_top_firstrow"><!-- --></A> <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> <TR ALIGN="center" VALIGN="top"> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../com/babeldoc/babelfish/module/BabelfishModule.html" title="class in com.babeldoc.babelfish.module"><FONT CLASS="NavBarFont1"><B>Class</B></FONT></A> </TD> <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Use</B></FONT> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> </TR> </TABLE> </TD> <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> </EM> </TD> </TR> <TR> <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> PREV NEXT</FONT></TD> <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../../../index.html?com/babeldoc/babelfish/module/\class-useBabelfishModule.html" target="_top"><B>FRAMES</B></A> <A HREF="BabelfishModule.html" target="_top"><B>NO FRAMES</B></A> <SCRIPT type="text/javascript"> <!-- if(window==top) { document.writeln('<A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>'); } //--> </SCRIPT> <NOSCRIPT> <A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A> </NOSCRIPT> </FONT></TD> </TR> </TABLE> <A NAME="skip-navbar_top"></A> <!-- ========= END OF TOP NAVBAR ========= --> <HR> <CENTER> <H2> <B>Uses of Class<br>com.babeldoc.babelfish.module.BabelfishModule</B></H2> </CENTER> No usage of com.babeldoc.babelfish.module.BabelfishModule <P> <HR> <!-- ======= START OF BOTTOM NAVBAR ====== --> <A NAME="navbar_bottom"><!-- --></A> <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A> <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> <TR> <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A NAME="navbar_bottom_firstrow"><!-- --></A> <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> <TR ALIGN="center" VALIGN="top"> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../com/babeldoc/babelfish/module/BabelfishModule.html" title="class in com.babeldoc.babelfish.module"><FONT CLASS="NavBarFont1"><B>Class</B></FONT></A> </TD> <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Use</B></FONT> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> </TR> </TABLE> </TD> <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> </EM> </TD> </TR> <TR> <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> PREV NEXT</FONT></TD> <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../../../index.html?com/babeldoc/babelfish/module/\class-useBabelfishModule.html" target="_top"><B>FRAMES</B></A> <A HREF="BabelfishModule.html" target="_top"><B>NO FRAMES</B></A> <SCRIPT type="text/javascript"> <!-- if(window==top) { document.writeln('<A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>'); } //--> </SCRIPT> <NOSCRIPT> <A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A> </NOSCRIPT> </FONT></TD> </TR> </TABLE> <A NAME="skip-navbar_bottom"></A> <!-- ======== END OF BOTTOM NAVBAR ======= --> <HR> </BODY> </HTML> |
From: Santi B. <san...@us...> - 2007-08-04 12:58:47
|
Update of /cvsroot/babeldoc/babeldoc/readme/doc/com/babeldoc/core/journal/dummy/class-use In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv1742/readme/doc/com/babeldoc/core/journal/dummy/class-use Added Files: DummyJournal.html 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 --- NEW FILE: DummyJournal.html --- <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <!--NewPage--> <HTML> <HEAD> <!-- Generated by javadoc (build 1.6.0) on Sat Aug 04 01:00:16 CEST 2007 --> <TITLE> Uses of Class com.babeldoc.core.journal.dummy.DummyJournal </TITLE> <META NAME="date" CONTENT="2007-08-04"> <LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../../../stylesheet.css" TITLE="Style"> <SCRIPT type="text/javascript"> function windowTitle() { if (location.href.indexOf('is-external=true') == -1) { parent.document.title="Uses of Class com.babeldoc.core.journal.dummy.DummyJournal"; } } </SCRIPT> <NOSCRIPT> </NOSCRIPT> </HEAD> <BODY BGCOLOR="white" onload="windowTitle();"> <HR> <!-- ========= START OF TOP NAVBAR ======= --> <A NAME="navbar_top"><!-- --></A> <A HREF="#skip-navbar_top" title="Skip navigation links"></A> <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> <TR> <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A NAME="navbar_top_firstrow"><!-- --></A> <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> <TR ALIGN="center" VALIGN="top"> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../com/babeldoc/core/journal/dummy/DummyJournal.html" title="class in com.babeldoc.core.journal.dummy"><FONT CLASS="NavBarFont1"><B>Class</B></FONT></A> </TD> <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Use</B></FONT> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> </TR> </TABLE> </TD> <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> </EM> </TD> </TR> <TR> <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> PREV NEXT</FONT></TD> <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../../../../index.html?com/babeldoc/core/journal/dummy/\class-useDummyJournal.html" target="_top"><B>FRAMES</B></A> <A HREF="DummyJournal.html" target="_top"><B>NO FRAMES</B></A> <SCRIPT type="text/javascript"> <!-- if(window==top) { document.writeln('<A HREF="../../../../../../allclasses-noframe.html"><B>All Classes</B></A>'); } //--> </SCRIPT> <NOSCRIPT> <A HREF="../../../../../../allclasses-noframe.html"><B>All Classes</B></A> </NOSCRIPT> </FONT></TD> </TR> </TABLE> <A NAME="skip-navbar_top"></A> <!-- ========= END OF TOP NAVBAR ========= --> <HR> <CENTER> <H2> <B>Uses of Class<br>com.babeldoc.core.journal.dummy.DummyJournal</B></H2> </CENTER> No usage of com.babeldoc.core.journal.dummy.DummyJournal <P> <HR> <!-- ======= START OF BOTTOM NAVBAR ====== --> <A NAME="navbar_bottom"><!-- --></A> <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A> <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> <TR> <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A NAME="navbar_bottom_firstrow"><!-- --></A> <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> <TR ALIGN="center" VALIGN="top"> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../com/babeldoc/core/journal/dummy/DummyJournal.html" title="class in com.babeldoc.core.journal.dummy"><FONT CLASS="NavBarFont1"><B>Class</B></FONT></A> </TD> <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Use</B></FONT> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> </TR> </TABLE> </TD> <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> </EM> </TD> </TR> <TR> <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> PREV NEXT</FONT></TD> <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../../../../index.html?com/babeldoc/core/journal/dummy/\class-useDummyJournal.html" target="_top"><B>FRAMES</B></A> <A HREF="DummyJournal.html" target="_top"><B>NO FRAMES</B></A> <SCRIPT type="text/javascript"> <!-- if(window==top) { document.writeln('<A HREF="../../../../../../allclasses-noframe.html"><B>All Classes</B></A>'); } //--> </SCRIPT> <NOSCRIPT> <A HREF="../../../../../../allclasses-noframe.html"><B>All Classes</B></A> </NOSCRIPT> </FONT></TD> </TR> </TABLE> <A NAME="skip-navbar_bottom"></A> <!-- ======== END OF BOTTOM NAVBAR ======= --> <HR> </BODY> </HTML> |