Class TemplateLocation
java.lang.Object
org.springframework.boot.autoconfigure.template.TemplateLocation
Contains a location that templates can be loaded from.
- Since:
- 1.2.1
- Author:
- Phillip Webb
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
exists
(ResourcePatternResolver resolver) Determine if this template location exists using the specifiedResourcePatternResolver
.toString()
-
Constructor Details
-
TemplateLocation
-
-
Method Details
-
exists
Determine if this template location exists using the specifiedResourcePatternResolver
.- Parameters:
resolver
- the resolver used to test if the location exists- Returns:
true
if the location exists.
-
toString
-