public class TemplateLocation extends Object
Constructor and Description |
---|
TemplateLocation(String path) |
Modifier and Type | Method and Description |
---|---|
boolean |
exists(ResourcePatternResolver resolver)
Determine if this template location exists using the specified
ResourcePatternResolver . |
String |
toString() |
public TemplateLocation(String path)
public boolean exists(ResourcePatternResolver resolver)
ResourcePatternResolver
.resolver
- the resolver used to test if the location existstrue
if the location exists.Copyright © 2016 Pivotal Software, Inc.. All rights reserved.