1 11 package org.apache.catalina.ssi; 12 13 14 import java.io.IOException ; 15 import java.util.Collection ; 16 import java.util.Date ; 17 24 public interface SSIExternalResolver { 25 31 public void addVariableNames(Collection variableNames); 32 33 34 public String getVariableValue(String name); 35 36 37 47 public void setVariableValue(String name, String value); 48 49 50 57 public Date getCurrentDate(); 58 59 60 public long getFileSize(String path, boolean virtual) throws IOException ; 61 62 63 public long getFileLastModified(String path, boolean virtual) 64 throws IOException ; 65 66 67 public String getFileText(String path, boolean virtual) throws IOException ; 68 69 70 public void log(String message, Throwable throwable); 71 } | Popular Tags |