Initializing help system before first use

DefaultMessageListener

  • All Implemented Interfaces:
    XPRSmessageListener, java.util.EventListener


    public class DefaultMessageListener
    extends AbstractMessageListener
    Implementation of AbstractMessageListener that directs all messages to output streams. The class can direct messages to instances of PrintStream. The default constructor redirects to the console.
    • Constructor Summary

      Constructor and Description
      DefaultMessageListener()
      Create a message listener that prints to the console.
      DefaultMessageListener(java.io.PrintStream infoStream, java.io.PrintStream warningStream, java.io.PrintStream errorStream)
      Create a message listener that directs messages to the specified streams.
    • Method Summary

      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • DefaultMessageListener

        public DefaultMessageListener()
        Create a message listener that prints to the console. Info and warning message will go to System.out, error messages will go to System.err.
      • DefaultMessageListener

        public DefaultMessageListener(java.io.PrintStream infoStream,
                                      java.io.PrintStream warningStream,
                                      java.io.PrintStream errorStream)
        Create a message listener that directs messages to the specified streams. Any of the streams may be null in which case the respective messages will be swallowed.
        Parameters:
        infoStream - Output stream for info messages.
        warningStream - Output stream for warning messages.
        errorStream - Output stream for error messages.

© 2001-2023 Fair Isaac Corporation. All rights reserved. This documentation is the property of Fair Isaac Corporation (“FICO”). Receipt or possession of this documentation does not convey rights to disclose, reproduce, make derivative works, use, or allow others to use it except solely for internal evaluation purposes to determine whether to purchase a license to the software described in this documentation, or as otherwise set forth in a written software license agreement between you and FICO (or a FICO affiliate). Use of this documentation and the software described in it must conform strictly to the foregoing permitted uses, and no other use is permitted.