org.apache.wicket.resource
Class ResourceUtil

java.lang.Object
  extended by org.apache.wicket.resource.ResourceUtil

public class ResourceUtil
extends Object

Utilities for resources.

Author:
Jeremy Thomerson

Method Summary
static void renderTo(IHeaderResponse resp, ResourceReference ref, boolean css, String string)
          Helper that calls the proper IHeaderResponse.render*Reference method based on the input.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

renderTo

public static void renderTo(IHeaderResponse resp,
                            ResourceReference ref,
                            boolean css,
                            String string)
Helper that calls the proper IHeaderResponse.render*Reference method based on the input.

Parameters:
resp - the response to call render*Reference methods on
ref - the reference to render
css - true if this is a css reference
string - the string argument to pass to those methods that accept it (js = id / css = media)


Copyright © 2004-2011 Apache Software Foundation. All Rights Reserved.