Class EchoingProgressListener

  • All Implemented Interfaces:
    VideoProgressListener

    public class EchoingProgressListener
    extends java.lang.Object
    implements VideoProgressListener
    Simple class to echo progress to Standard out - or any PrintStream.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private java.io.PrintStream out  
      private java.lang.String prefix  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void onBegin()
      It has begun!
      void onComplete()
      It has ended!
      void onError​(java.lang.String message)
      An error has occurred!
      void onMessage​(java.lang.String message)
      Any messages that arise during the activity.
      void onProgress​(java.lang.Double progress)
      Meaningful progress has been made.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • prefix

        private java.lang.String prefix
      • out

        private java.io.PrintStream out
    • Constructor Detail

      • EchoingProgressListener

        public EchoingProgressListener()
      • EchoingProgressListener

        public EchoingProgressListener​(java.lang.String prefix)
      • EchoingProgressListener

        public EchoingProgressListener​(java.lang.String prefix,
                                       java.io.PrintStream out)