| java.lang.Object com.sun.portal.desktop.context.FileTemplateContext
Method Summary | |
public ParsedTagArray | get(String base, String type, String locale, String component, String provider, String filename) Get a template.
If the template exists in the cache, then it is returned.
If not, then an attempt is made to read the template from
disk.
If the exact template is cannot be found under the locale
specified, a locale-indpendent directory is checked. | public ParsedTagArray | get(String base, String type, String locale, String component, String provider, String clientPath, String filename) Get a template.
If the template exists in the cache, then it is returned.
If not, then an attempt is made to read the template from
disk.
If the exact template is cannot be found under the locale
specified, a locale-indpendent directory is checked. | public File | getCachedFile(String base, String type, String locale, String component, String provider, String clientPath, String filename) | public Properties | getProperties(String base, String type, String locale, String component, String provider, String clientPath, String filename) Get message.properties file
If the message.properties exists in the cache, then it is returned.
If not, then an attempt is made to read the message.properties from
disk.
If the exact message.properties cannot be found under the locale
specified, a locale-indpendent directory is checked. | public ParsedTagArray | getTemplate(String base, String type, String locale, String app, String provider, String clientFilePath, String file) | public File | getTemplateMostSpecificPath(String base, String type, String locale, String app, String provider, String clientFilePath, String fileName) | public File | getTemplatePath(String base, String type, String locale, String app, String provider, String clientFilePath, String fileName) | public Properties | getTemplateProperties(String base, String type, String locale, String app, String provider, String clientFilePath, String file) | public synchronized void | init(int templateScanInterval) |
FileTemplateContext | public FileTemplateContext()(Code) | | |
get | public ParsedTagArray get(String base, String type, String locale, String component, String provider, String filename)(Code) | | Get a template.
If the template exists in the cache, then it is returned.
If not, then an attempt is made to read the template from
disk.
If the exact template is cannot be found under the locale
specified, a locale-indpendent directory is checked. If the
template cannot be found in either of these places, the get is
repeated, but with type=default. The ordering of the directories
that are checked is as follows:
_/
_
/
default_/
default_
default/
default
|
get | public ParsedTagArray get(String base, String type, String locale, String component, String provider, String clientPath, String filename)(Code) | | Get a template.
If the template exists in the cache, then it is returned.
If not, then an attempt is made to read the template from
disk.
If the exact template is cannot be found under the locale
specified, a locale-indpendent directory is checked. If the
template cannot be found in either of these places, the get is
repeated, but with type=default. The ordering of the directories
that are checked is as follows:
_//
_/
_/
_
//
/
default_//
default_/
default_
default//
default/
default/
default
|
getProperties | public Properties getProperties(String base, String type, String locale, String component, String provider, String clientPath, String filename)(Code) | | Get message.properties file
If the message.properties exists in the cache, then it is returned.
If not, then an attempt is made to read the message.properties from
disk.
If the exact message.properties cannot be found under the locale
specified, a locale-indpendent directory is checked. If the
message.properties cannot be found in either of these places, the get is
repeated, but with type=default. The ordering of the directories
that are checked is as follows:
_//
_/
_/
_
//
/
default_//
default_/
default_
default//
default/
default/
default
|
init | public synchronized void init(int templateScanInterval)(Code) | | |
|
|