Package org.java.plugin.registry

Examples of org.java.plugin.registry.ManifestInfo


        try {
            File temp = unpackPluginXML(f);
            if (temp == null)
                return null; // Couldn't find the plugin.xml file
            ManifestInfo mi = PluginCore.getManager().getRegistry().
                    readManifestInfo(temp.toURI().toURL());
            temp.delete();
            return new String[] {mi.getId(), mi.getVersion().toString()};
        } catch (MalformedURLException e) {
            e.printStackTrace();
            return null;
        } catch (ManifestProcessingException e) {
            return null; // Couldn't make sense of the plugin.xml
View Full Code Here

TOP

Related Classes of org.java.plugin.registry.ManifestInfo

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.