- All Implemented Interfaces:
PlugIn
public class PluginInstaller
extends Object
implements PlugIn
Installs plugins dragged and dropped on the "ImageJ" window, or plugins,
macros or scripts opened using the Plugins/Install command.
-
-
Constructor Summary
Constructors
-
Method Summary
static byte[]
boolean
void
This method is called when the plugin is loaded.
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
validExtensions
public static final String[] validExtensions
-
Constructor Details
-
PluginInstaller
public PluginInstaller()
-
Method Details
-
run
Description copied from interface: PlugIn
This method is called when the plugin is loaded.
'arg', which may be blank, is the argument specified
for this plugin in IJ_Props.txt.
- Specified by:
run
in interface PlugIn
-
install
public boolean install(String path)
-
download
public static byte[] download(String urlString,
String name)