public class TemplateLocation extends Object
Constructor and Description |
---|
TemplateLocation(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 . |
String |
toString() |
public TemplateLocation(String path)
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.Copyright © 2018 Pivotal Software, Inc.. All rights reserved.