Module ij
Package ij.plugin

Class PluginInstaller

  • All Implemented Interfaces:

    public class PluginInstaller
    extends java.lang.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

      Modifier and Type Field Description
      static java.lang.String[] validExtensions  
    • Constructor Summary

      Constructor Description
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      static byte[] download​(java.lang.String urlString, java.lang.String name)  
      boolean install​(java.lang.String path)  
      void run​(java.lang.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 java.lang.String[] validExtensions
    • Constructor Detail

      • PluginInstaller

        public PluginInstaller()
    • Method Detail

      • run

        public void run​(java.lang.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​(java.lang.String path)
      • download

        public static byte[] download​(java.lang.String urlString,
                                      java.lang.String name)