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