01: /*
02: * Copyright 2001 Sun Microsystems, Inc. All rights reserved.
03: * PROPRIETARY/CONFIDENTIAL. Use of this product is subject to license terms.
04: */
05: package com.sun.portal.desktop.context;
06:
07: import java.io.File;
08:
09: import java.util.Properties;
10: import java.util.Hashtable;
11:
12: import javax.servlet.ServletConfig;
13:
14: import com.sun.portal.desktop.template.ParsedTagArray;
15:
16: public interface TemplateContext {
17: public void init(int templateScanInterval);
18:
19: public ParsedTagArray getTemplate(String base, String type,
20: String locale, String app, String provider,
21: String clientFilePath, String file);
22:
23: public Properties getTemplateProperties(String base, String type,
24: String locale, String app, String provider,
25: String clientFilePath, String file);
26:
27: public File getTemplatePath(String base, String type,
28: String locale, String app, String provider,
29: String clientFilePath, String file);
30:
31: public File getTemplateMostSpecificPath(String base, String type,
32: String locale, String app, String provider,
33: String clientFilePath, String file);
34: }
|