- Timestamp:
- 09/26/11 23:00:42 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaHelperLib/src/de/ugoe/cs/util/console/Console.java
r199 r201 31 31 public final class Console { 32 32 33 /** 34 * <p> 35 * Listeners for the output stream. 36 * </p> 37 */ 33 38 private Collection<IOutputListener> outputListener; 39 40 /** 41 * <p> 42 * Listeners for the error stream. 43 * </p> 44 */ 34 45 private Collection<IErrorListener> errorListener; 46 47 /** 48 * <p> 49 * Listeners for the trace stream. 50 * </p> 51 */ 35 52 private Collection<ITraceListener> traceListener; 53 54 /** 55 * <p> 56 * Listeners for the command stream. 57 * </p> 58 */ 36 59 private Collection<ICommandListener> commandListener; 60 61 /** 62 * <p> 63 * Listeners for the exception stream. 64 * </p> 65 */ 37 66 private Collection<IExceptionListener> exceptionListener; 38 67 … … 240 269 } 241 270 for (IOutputListener observer : theInstance.outputListener) { 242 observer. updateText(msg);271 observer.outputMsg(msg); 243 272 } 244 273 } … … 258 287 } 259 288 for (IOutputListener observer : theInstance.outputListener) { 260 observer. updateText(msg + StringTools.ENDLINE);289 observer.outputMsg(msg + StringTools.ENDLINE); 261 290 } 262 291 } … … 276 305 } 277 306 for (IErrorListener observer : theInstance.errorListener) { 278 observer.err Stream(errMsg);307 observer.errorMsg(errMsg); 279 308 } 280 309 } … … 294 323 } 295 324 for (IErrorListener observer : theInstance.errorListener) { 296 observer.err Stream(errMsg + StringTools.ENDLINE);325 observer.errorMsg(errMsg + StringTools.ENDLINE); 297 326 } 298 327 } … … 329 358 } 330 359 for (ITraceListener observer : theInstance.traceListener) { 331 observer.trace (traceMsg);360 observer.traceMsg(traceMsg); 332 361 } 333 362 } … … 348 377 } 349 378 for (ITraceListener observer : theInstance.traceListener) { 350 observer.trace (traceMsg + StringTools.ENDLINE);379 observer.traceMsg(traceMsg + StringTools.ENDLINE); 351 380 } 352 381 }
Note: See TracChangeset
for help on using the changeset viewer.