public class FileSystemTemplateLocator extends FilePathTemplateLocator
Modifier and Type | Class and Description |
---|---|
static class |
FileSystemTemplateLocator.Builder |
VIRTUAL_PATH_SEPARATOR_KEY
configuration
DEFAULT_PRIORITY
Constructor and Description |
---|
FileSystemTemplateLocator(int priority,
String rootPath) |
FileSystemTemplateLocator(int priority,
String rootPath,
String suffix) |
Modifier and Type | Method and Description |
---|---|
static FileSystemTemplateLocator.Builder |
builder() |
protected String |
getRealPathSeparator() |
protected File |
getRootDir() |
Reader |
locateRealPath(String realPath) |
constructVirtualPath, getAllIdentifiers, checkRootDir, locate
addSuffix, getConfigurationKeys, getDefaultFileEncoding, getRootPath, getSuffix, getVirtualPathSeparator, init, stripSuffix, toRealPath, toString
getPriority
checkNotInitialized, init
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
init
public FileSystemTemplateLocator(int priority, String rootPath)
priority
- rootPath
- FileSystemTemplateLocator.Builder
public FileSystemTemplateLocator(int priority, String rootPath, String suffix)
priority
- rootPath
- suffix
- FileSystemTemplateLocator.Builder
public Reader locateRealPath(String realPath)
locateRealPath
in class FilePathTemplateLocator
protected String getRealPathSeparator()
getRealPathSeparator
in class PathTemplateLocator<File>
protected File getRootDir()
getRootDir
in class FilePathTemplateLocator
PathTemplateLocator.getRootPath()
public static FileSystemTemplateLocator.Builder builder()
priority
- Copyright © 2017. All rights reserved.