Re: Find plugins which are extending a specifc class
Posted by
John Hayes on
Feb 20, 2015; 4:15pm
URL: http://imagej.273.s1.nabble.com/Find-plugins-which-are-extending-a-specifc-class-tp5011707p5011708.html
Hi Thorsten,
It may not be exactly what you had in mind, but I believe you can use the Unix/Linux/OS X 'grep' and 'xargs' command for this like so (from the ImageJ directory):
> find plugins | xargs grep PlugInFilter
This searches for PlugInFilter within all the files under the plugins directory and should work on normal .class and .jar files as well as .java files if they happen to be in there.
Alternatively, I believe Windows and OS X search utilities may dig through files, and since class names are typically encoded as text strings, even within .class binary files, one of those may work for your needs as well.
HTH,
John
Le 20 févr. 2015 à 09:43, Thorsten Wagner a écrit :
> Dear list,
>
> I wondering if it is possible to scan all available plugins if they are
> implementing a specific class.
>
> Any ideas?
>
> Cheers,
> Thorsten
>
> --
> ImageJ mailing list:
http://imagej.nih.gov/ij/list.html--
ImageJ mailing list:
http://imagej.nih.gov/ij/list.html