Ignore:
Timestamp:
10/10/11 22:15:34 (13 years ago)
Author:
sherbold
Message:
  • various changed to de.ugoe.cs.util.Console:
    • changed instantiation method of the instance, i.e., how the Singleton property is guaranteed
    • added method reset() to remove all listeners at once
    • added functions to check is a given listener is registered
  • various changes to de.ugoe.cs.util.FileOutputListener?:
    • added null-checks for writer to improve behavior in case of improper usage
    • added method getFilename() to check to which file the listener writes.
  • added method setDebug() to de.ugoe.cs.util.TextConsole? to define whether trace stream is displayed or not.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/JavaHelperLib/src/de/ugoe/cs/util/console/TextConsole.java

    r210 r250  
    126126                return new String(buffer); 
    127127        } 
     128         
     129        /** 
     130         * <p> 
     131         * Configures if the debug mode of the text console is enabled. 
     132         * </p> 
     133         * @param debug if true, debug mode is enabled.  
     134         */ 
     135        public void setDebug(boolean debug) { 
     136                debugMode = debug; 
     137        } 
    128138 
    129139} 
Note: See TracChangeset for help on using the changeset viewer.