org.onebusaway.presentation.impl.resources
Class ClientBundleFactory

java.lang.Object
  extended by org.onebusaway.presentation.impl.resources.ClientBundleFactory

public class ClientBundleFactory
extends Object


Constructor Summary
ClientBundleFactory()
           
 
Method Summary
 void addResource(Class<?> bundleType)
           
<T extends com.google.gwt.resources.client.ClientBundle>
T
getBundleForType(Class<T> bundleType)
           
 Map<String,Object> getBundles()
           
 LocalResource getResourceForExternalUrl(String externalUrl)
           
 void setPattern(String pattern)
           
 void setPrefix(String prefix)
           
 void setResources(List<Class<?>> resources)
           
 void setServletContext(javax.servlet.ServletContext servletContext)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ClientBundleFactory

public ClientBundleFactory()
Method Detail

setPrefix

public void setPrefix(String prefix)

setPattern

public void setPattern(String pattern)

setServletContext

public void setServletContext(javax.servlet.ServletContext servletContext)

setResources

public void setResources(List<Class<?>> resources)
                  throws IOException
Throws:
IOException

addResource

public void addResource(Class<?> bundleType)
                 throws IOException
Throws:
IOException

getBundles

public Map<String,Object> getBundles()

getResourceForExternalUrl

public LocalResource getResourceForExternalUrl(String externalUrl)

getBundleForType

public <T extends com.google.gwt.resources.client.ClientBundle> T getBundleForType(Class<T> bundleType)


Copyright © 2011 OneBusAway. All Rights Reserved.