public final class PatternSpec extends Object
Utility class of internal use for holding the patterns that certain artifacts
(usually template names) must match for obtaining some consideration. For
example, it is used at many ITemplateResolver
implementations for holding the patterns that match a template to a specific
template mode.
Constructor and Description |
---|
PatternSpec() |
Modifier and Type | Method and Description |
---|---|
void |
addPattern(String pattern) |
void |
clearPatterns() |
Set<String> |
getPatterns() |
void |
initialize() |
boolean |
matches(String templateName) |
void |
setPatterns(Set<String> newPatterns) |
Copyright © 2014 The THYMELEAF team. All rights reserved.