Class PrintStreamInfoStream

  • All Implemented Interfaces:
    java.io.Closeable, java.lang.AutoCloseable, java.lang.Cloneable

    public class PrintStreamInfoStream
    extends InfoStream
    InfoStream implementation over a PrintStream such as System.out.
    • Constructor Detail

      • PrintStreamInfoStream

        public PrintStreamInfoStream​(java.io.PrintStream stream)
      • PrintStreamInfoStream

        public PrintStreamInfoStream​(java.io.PrintStream stream,
                                     int messageID)
    • Method Detail

      • message

        public void message​(java.lang.String component,
                            java.lang.String message)
        Description copied from class: InfoStream
        prints a message
        Specified by:
        message in class InfoStream
      • close

        public void close()
                   throws java.io.IOException
        Throws:
        java.io.IOException
      • isSystemStream

        public boolean isSystemStream()