Class ApplicationPrintStream

    • Constructor Detail

      • ApplicationPrintStream

        public ApplicationPrintStream()
        Default constructor.
    • Method Detail

      • write

        public void write​(byte[] b,
                          int off,
                          int len)
        Overrides:
        write in class PrintStream
      • addListener

        public void addListener​(PrintStreamListener listener)
        Adds a print stream listener.
        Parameters:
        listener - the listener.
      • removeListener

        public void removeListener​(PrintStreamListener listener)
        Removes a print stream listener.
        Parameters:
        listener - the listener.
      • setNotifyListeners

        public void setNotifyListeners​(boolean notifyListeners)
        Sets whether the listeners must be notified or not.
        Parameters:
        notifyListeners - whether the listeners must be notified or not.