Class FileLoadAction

java.lang.Object
javax.swing.AbstractAction
org.apache.log4j.chainsaw.FileLoadAction
All Implemented Interfaces:
ActionListener, Serializable, Cloneable, EventListener, Action

class FileLoadAction extends AbstractAction
Allows the user to specify a particular file to open and import the events into a new tab.
  • Field Details

    • LOG

      private static final org.apache.log4j.Logger LOG
    • decoder

      Decoder decoder
      This action must have a reference to a LogUI window so that it can append the events it loads
    • parent

      private LogUI parent
    • remoteURL

      private boolean remoteURL
  • Constructor Details

    • FileLoadAction

      public FileLoadAction(LogUI parent, Decoder decoder, String title, boolean isRemoteURL)
  • Method Details

    • actionPerformed

      public void actionPerformed(ActionEvent e)
    • importURL

      public static void importURL(ChainsawAppenderHandler handler, Decoder decoder, String name, URL url)
      Imports a URL into Chainsaw, by using the Decoder, and using the name value as the Application key which (usually) determines the Tab name
      Parameters:
      name -
      url - URL to import