Package org.apache.log4j.chainsaw
Class FileLoadAction
- java.lang.Object
-
- javax.swing.AbstractAction
-
- org.apache.log4j.chainsaw.FileLoadAction
-
- All Implemented Interfaces:
java.awt.event.ActionListener
,java.io.Serializable
,java.lang.Cloneable
,java.util.EventListener
,javax.swing.Action
class FileLoadAction extends javax.swing.AbstractAction
Allows the user to specify a particular file to open and import the events into a new tab.
-
-
Constructor Summary
Constructors Constructor Description FileLoadAction(LogUI parent, Decoder decoder, java.lang.String title, boolean isRemoteURL)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
actionPerformed(java.awt.event.ActionEvent e)
static void
importURL(ChainsawAppenderHandler handler, Decoder decoder, java.lang.String name, java.net.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-
Methods inherited from class javax.swing.AbstractAction
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
-
-
-
-
Method Detail
-
actionPerformed
public void actionPerformed(java.awt.event.ActionEvent e)
-
importURL
public static void importURL(ChainsawAppenderHandler handler, Decoder decoder, java.lang.String name, java.net.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
-
-