public class FileLocator extends Object implements ResourceLocator
Constructor and Description |
---|
FileLocator()
initializes the locator with the base dir for relative paths set to the current working dir
|
FileLocator(File baseDir) |
Modifier and Type | Method and Description |
---|---|
String |
getString(String name,
Charset encoding,
JinjavaInterpreter interpreter) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getLocationResolver
public FileLocator()
public FileLocator(File baseDir) throws FileNotFoundException
FileNotFoundException
public String getString(String name, Charset encoding, JinjavaInterpreter interpreter) throws IOException
getString
in interface ResourceLocator
IOException
Copyright © 2020. All rights reserved.