Changeset 302:7a843130b349
- Timestamp:
- 09/08/09 14:24:22 (4 years ago)
- Author:
- tgambet
- Branch:
- default
- convert_revision:
- svn:cdcfb263-7567-472c-a848-e2c2df3466e7/trunk@303
- Message:
-
added shortcut function addParameter(String, String)
- Files:
-
Legend:
- Unmodified
- Added
- Removed
-
|
r282
|
r302
|
|
| 1 | | // $Id: UnicornCall.java,v 1.9 2009-09-04 15:35:15 tgambet Exp $ |
| | 1 | // $Id: UnicornCall.java,v 1.10 2009-09-08 14:24:22 tgambet Exp $ |
| 2 | 2 | // Author: Jean-Guilhem Rouel |
| 3 | 3 | // (c) COPYRIGHT MIT, ERCIM and Keio, 2006. |
| … |
… |
|
| 117 | 117 | public void doTask() throws Exception { |
| 118 | 118 | UnicornCall.logger.trace("doTask."); |
| 119 | | if (UnicornCall.logger.isDebugEnabled()) { |
| 120 | | UnicornCall.logger.debug("String task id : " + this.aTask.getID() |
| 121 | | + "."); |
| 122 | | UnicornCall.logger.debug("EnumInputMethod : " |
| 123 | | + this.aEnumInputMethod + "."); |
| 124 | | UnicornCall.logger.debug("Document name : " + this.sDocumentName |
| 125 | | + "."); |
| 126 | | UnicornCall.logger.debug("Map of string parameter : " |
| 127 | | + this.mapOfStringParameter + "."); |
| 128 | | } |
| | 119 | UnicornCall.logger.debug("String task id : " + aTask.getID() + "."); |
| | 120 | UnicornCall.logger.debug("EnumInputMethod : " + aEnumInputMethod + "."); |
| | 121 | UnicornCall.logger.debug("Document name : " + sDocumentName + "."); |
| | 122 | UnicornCall.logger.debug("Map of string parameter : " + mapOfStringParameter + "."); |
| 129 | 123 | |
| 130 | 124 | // find mimetype of the document |
| … |
… |
|
| 668 | 662 | } |
| 669 | 663 | } |
| | 664 | |
| | 665 | public void addParameter(final String sName, final String tStringValue) { |
| | 666 | |
| | 667 | String[] tab = {tStringValue}; |
| | 668 | addParameter(sName, tab); |
| | 669 | |
| | 670 | } |
| 670 | 671 | |
| 671 | 672 | /** |