Class LogWatcher

  • All Implemented Interfaces:
    Runnable

    public class LogWatcher
    extends Thread
    • Constructor Detail

      • LogWatcher

        public LogWatcher​(String filepath,
                          Interpreter interpreter,
                          double delay)
        Creates a Tailer for the given file.
        Parameters:
        filepath - the file to follow.
        interpreter - the TailerListener to use.
        delay - the delay between checks of the file for new content in seconds.
    • Method Detail

      • run

        public void run()
        Specified by:
        run in interface Runnable
        Overrides:
        run in class Thread