@Deprecated public class VelocityTemplateAvailabilityProvider extends Object implements TemplateAvailabilityProvider
TemplateAvailabilityProvider
that provides availability information for
Velocity view templates.Constructor and Description |
---|
VelocityTemplateAvailabilityProvider()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
boolean |
isTemplateAvailable(String view,
Environment environment,
ClassLoader classLoader,
ResourceLoader resourceLoader)
Deprecated.
Returns
true if a template is available for the given view . |
public VelocityTemplateAvailabilityProvider()
public boolean isTemplateAvailable(String view, Environment environment, ClassLoader classLoader, ResourceLoader resourceLoader)
TemplateAvailabilityProvider
true
if a template is available for the given view
.isTemplateAvailable
in interface TemplateAvailabilityProvider
view
- the view nameenvironment
- the environmentclassLoader
- the class loaderresourceLoader
- the resource loaderCopyright © 2016 Pivotal Software, Inc.. All rights reserved.