类 TemplateLocation


  • public class TemplateLocation
    extends Object
    Contains a location that templates can be loaded from.
    从以下版本开始:
    1.2.1
    • 方法详细资料

      • exists

        public boolean exists​(org.springframework.core.io.support.ResourcePatternResolver resolver)
        Determine if this template location exists using the specified ResourcePatternResolver.
        参数:
        resolver - the resolver used to test if the location exists
        返回:
        true if the location exists.