Class LogReader

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

    public class LogReader
    extends java.lang.Object
    implements java.io.Closeable
    • Constructor Summary

      Constructors 
      Constructor Description
      LogReader​(java.io.InputStream stream)  
    • Field Detail

      • stream

        private final java.io.InputStream stream
    • Constructor Detail

      • LogReader

        public LogReader​(java.io.InputStream stream)
    • Method Detail

      • nextMessage

        public LogMessage nextMessage()
                               throws java.io.IOException
        Throws:
        java.io.IOException
      • close

        public void close()
                   throws java.io.IOException
        Specified by:
        close in interface java.lang.AutoCloseable
        Specified by:
        close in interface java.io.Closeable
        Throws:
        java.io.IOException