ij.plugin
Class PluginInstaller

java.lang.Object
  extended by ij.plugin.PluginInstaller
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.


Field Summary
static String[] validExtensions
           
 
Constructor Summary
PluginInstaller()
           
 
Method Summary
static byte[] download(String urlString, String name)
           
 boolean install(String path)
           
 void run(String arg)
          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 Detail

validExtensions

public static final String[] validExtensions
Constructor Detail

PluginInstaller

public PluginInstaller()
Method Detail

run

public void run(String arg)
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)


Copyright © 1997–2016 NIH. All rights reserved.