Package helma.util

Examples of helma.util.SystemMap


     * @return a readonly wrapper around the application's apps.properties
     */
    public Map getAppsProperties() {
        Server server = Server.getServer();
        if (server == null)
            return new SystemMap();
        return new WrappedMap(server.getAppsProperties(app.getName()), true);
    }
View Full Code Here


     * Return a map of skin resources
     *
     * @return a map containing the skin resources
     */
    public Map getSkinfiles() {
        Map skinz = new SystemMap();

        for (Iterator it = app.getPrototypes().iterator(); it.hasNext();) {
            Prototype p = (Prototype) it.next();

            Object skinmap = p.getScriptableSkinMap();
            skinz.put(p.getName(), skinmap);
            skinz.put(p.getLowerCaseName(), skinmap);
        }

        return skinz;
    }
View Full Code Here

     *
     * @param skinpath an array of directory paths or HopObjects to search for skins
     * @return a map containing the skin resources
     */
    public Map getSkinfilesInPath(Object[] skinpath) {
        Map skinz = new SystemMap();

        for (Iterator it = app.getPrototypes().iterator(); it.hasNext();) {
            Prototype p = (Prototype) it.next();

            Object skinmap = p.getScriptableSkinMap(skinpath);
            skinz.put(p.getName(), skinmap);
            skinz.put(p.getLowerCaseName(), skinmap);
        }

        return skinz;
    }
View Full Code Here

TOP

Related Classes of helma.util.SystemMap

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.