Class Application.OutputPrintStream

  • All Implemented Interfaces:
    Closeable, Flushable, Appendable, AutoCloseable
    Enclosing class:
    Application

    public class Application.OutputPrintStream
    extends PrintStream
    This class is used to notify the ProgressUpdateListeners of events that are written to the standard output. It is used in WebStartInstaller and in Installer. These classes just create a OutputPrintStream and then they do a call to System.out with it. The class just reads what is written to the standard output, obtains an formatted representation of it and then notifies the ProgressUpdateListeners with the formatted messages.
    • Constructor Detail

      • OutputPrintStream

        public OutputPrintStream()
        Default constructor.
    • Method Detail

      • formatString

        protected org.forgerock.i18n.LocalizableMessage formatString​(String s)
        Format a string before sending a listener notification.
        Parameters:
        s - to format
        Returns:
        formatted message