org.onebusaway.presentation.impl.resources
Class ClientBundleFactory
java.lang.Object
org.onebusaway.presentation.impl.resources.ClientBundleFactory
public class ClientBundleFactory
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ClientBundleFactory
public ClientBundleFactory()
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 © 2012 OneBusAway. All Rights Reserved.