Package org.hive.container.lib

Examples of org.hive.container.lib.JarReader


        jcl = new JarClassLoader();
        jcl.add(jarLocation);

        Document manifest = null;
        try {
            manifest = new JarReader().readXML(jarLocation, "manifest.xml");
        } catch (ParserConfigurationException e) {
            LoggerFactory.getLogger().fatal("Failed to initialize parser!", e);
        } catch (SAXException e) {
            LoggerFactory.getLogger().fatal("Failed to parse application manifest!", e);
        }
View Full Code Here


        switch (type) {
            case APPLICATION_INTERFACE_XML: suffix = ".xml"; break;
            case APPLICATION_INTERFACE_HTML: suffix = ".html"; break;
        }

        return new JarReader().readFile(jarLocation, "interface/" + page + suffix);
    }
View Full Code Here

    public Object getInstance() {
        return instance;
    }

    public String getTypes() {
        return new JarReader().readFile(jarLocation, "types.xsd");
    }
View Full Code Here

TOP

Related Classes of org.hive.container.lib.JarReader

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.