Package org.apache.roller.util

Examples of org.apache.roller.util.Utilities


                context.put("group",
                        planet.getGroup(request.getParameter("group")));
            }
            context.put("planet", planet);
            context.put("date", new Date());
            context.put("utilities", new Utilities());
           
            int entryCount =
                RollerRuntimeConfig.getIntProperty("site.newsfeeds.defaultEntries");
            int maxEntries =
                RollerRuntimeConfig.getIntProperty("site.newsfeeds.maxEntries");
View Full Code Here


        // Only the plainFormat is specified here, because it is used to render
        // the Entry Day link.
        ctx.put("plainFormat", "yyyyMMdd");
       
        ctx.put("page",            TemplateWrapper.wrap(rreq.getPage()));
        ctx.put("utilities",       new Utilities() );
        ctx.put("stringUtils",     new StringUtils() );
        ctx.put("rollerVersion",   rollerCtx.getRollerVersion() );
        ctx.put("rollerBuildTime", rollerCtx.getRollerBuildTime() );
        ctx.put("rollerBuildUser", rollerCtx.getRollerBuildUser() );
        ctx.put("newsfeedCache",   NewsfeedCache.getInstance() );
View Full Code Here

     * Load miscellaneous values into the Context.
     * @param rollerCtx
     */
    private void loadTheRest(RollerContext rollerCtx)
    {
        ctx.put("utilities",       new Utilities() );
        ctx.put("stringUtils",     new StringUtils() );       
        ctx.put("entryLength",     new Integer(-1));
    }
View Full Code Here

TOP

Related Classes of org.apache.roller.util.Utilities

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.