static PluginMeta loadMeta ( final File jar ) throws IOException { FileInputStream fileInputStream = new FileInputStream ( jar ) ; try { final ZipInputStream zipinput = new ZipInputStream ( fileInputStream ) ; final PluginMeta metadata = ScriptPluginProviderLoader . loadMeta ( jar , zipinput ) ; return metadata ; } finally { fileInputStream . close ( ) ; } }
Get plugin metadatat from a zip file