Class FileMonitorPanel.Listener

  • All Implemented Interfaces:
    org.apache.commons.io.input.TailerListener
    Enclosing class:
    FileMonitorPanel

    public static class FileMonitorPanel.Listener
    extends org.apache.commons.io.input.TailerListenerAdapter
    • Constructor Detail

      • Listener

        public Listener​(FileMonitorPanel owner,
                        String file)
        Initializes the owner.
        Parameters:
        owner - the owning actor
    • Method Detail

      • handle

        public void handle​(String line)
        Handles a line from a Tailer.
        Specified by:
        handle in interface org.apache.commons.io.input.TailerListener
        Overrides:
        handle in class org.apache.commons.io.input.TailerListenerAdapter
        Parameters:
        line - the line.
      • handle

        public void handle​(Exception ex)
        Handles an Exception .
        Specified by:
        handle in interface org.apache.commons.io.input.TailerListener
        Overrides:
        handle in class org.apache.commons.io.input.TailerListenerAdapter
        Parameters:
        ex - the exception.