public class FileSystemTemplateLocator extends FilePathTemplateLocator
| Modifier and Type | Class and Description |
|---|---|
static class |
FileSystemTemplateLocator.Builder |
VIRTUAL_PATH_SEPARATOR_KEYconfigurationDEFAULT_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, locateaddSuffix, getConfigurationKeys, getDefaultFileEncoding, getRootPath, getSuffix, getVirtualPathSeparator, init, stripSuffix, toRealPath, toStringgetPrioritycheckNotInitialized, initclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitinitpublic FileSystemTemplateLocator(int priority,
String rootPath)
priority - rootPath - FileSystemTemplateLocator.Builderpublic FileSystemTemplateLocator(int priority,
String rootPath,
String suffix)
priority - rootPath - suffix - FileSystemTemplateLocator.Builderpublic Reader locateRealPath(String realPath)
locateRealPath in class FilePathTemplateLocatorprotected String getRealPathSeparator()
getRealPathSeparator in class PathTemplateLocator<File>protected File getRootDir()
getRootDir in class FilePathTemplateLocatorPathTemplateLocator.getRootPath()public static FileSystemTemplateLocator.Builder builder()
priority - Copyright © 2017. All rights reserved.