public interface SSIExternalResolver
| Modifier and Type | Method and Description |
|---|---|
void |
addVariableNames(Collection<String> variableNames)
Adds any external variables to the variableNames collection.
|
Date |
getCurrentDate()
Returns the current date.
|
long |
getFileLastModified(String path,
boolean virtual) |
long |
getFileSize(String path,
boolean virtual) |
String |
getFileText(String path,
boolean virtual) |
String |
getVariableValue(String name) |
void |
log(String message,
Throwable throwable) |
void |
setVariableValue(String name,
String value)
Set the named variable to the specified value.
|
void addVariableNames(Collection<String> variableNames)
variableNames - the collection to add tovoid setVariableValue(String name, String value)
name - of the variablevalue - of the variableDate getCurrentDate()
long getFileSize(String path, boolean virtual) throws IOException
IOExceptionlong getFileLastModified(String path, boolean virtual) throws IOException
IOExceptionString getFileText(String path, boolean virtual) throws IOException
IOExceptionCopyright © 2000-2016 Apache Software Foundation. All Rights Reserved.