org.onebusaway.presentation.impl.resources
Class ResourceServiceImpl
java.lang.Object
org.onebusaway.presentation.impl.resources.ResourceServiceImpl
- All Implemented Interfaces:
- ResourceService
@Component
public class ResourceServiceImpl
- extends Object
- implements ResourceService
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DEBUG_PROPERTY
public static final String DEBUG_PROPERTY
ResourceServiceImpl
public ResourceServiceImpl()
setPrefix
public void setPrefix(String prefix)
setPattern
public void setPattern(String pattern)
setServletContext
public void setServletContext(javax.servlet.ServletContext servletContext)
setup
@PostConstruct
public void setup()
getExternalUrlForResource
public String getExternalUrlForResource(String resourcePath,
Locale locale)
ResourceService
Interface
- Specified by:
getExternalUrlForResource
in interface ResourceService
getExternalUrlForResources
public String getExternalUrlForResources(List<String> resourcePaths,
Locale locale)
- Specified by:
getExternalUrlForResources
in interface ResourceService
getExternalUrlForResources
public String getExternalUrlForResources(String resourceId,
List<String> resourcePaths,
Locale locale)
- Specified by:
getExternalUrlForResources
in interface ResourceService
getLocalResourceForExternalId
public Resource getLocalResourceForExternalId(String externalId,
Locale locale)
- Specified by:
getLocalResourceForExternalId
in interface ResourceService
Copyright © 2012 OneBusAway. All Rights Reserved.