public class TemplateLocation
extends java.lang.Object
Constructor and Description |
---|
TemplateLocation(java.lang.String path) |
Modifier and Type | Method and Description |
---|---|
boolean |
exists(org.springframework.core.io.support.ResourcePatternResolver resolver)
Determine if this template location exists using the specified
ResourcePatternResolver . |
java.lang.String |
toString() |
public boolean exists(org.springframework.core.io.support.ResourcePatternResolver resolver)
ResourcePatternResolver
.resolver
- the resolver used to test if the location existstrue
if the location exists.public java.lang.String toString()
toString
in class java.lang.Object