程序包 | 说明 |
---|---|
org.opencms.configuration |
Reads and writes the XML based OpenCms configuration files.
|
org.opencms.file |
This important package provides the methods to access the OpenCms VFS repository with the permissions
of an authenticated user.
|
org.opencms.loader |
Low-level functions to manage the loading of resources from the OpenCms VFS.
|
限定符和类型 | 方法和说明 |
---|---|
CmsResourceTranslator |
CmsVfsConfiguration.getFileTranslator()
Returns the file resource translator that has been initialized
with the configured file translation rules.
|
CmsResourceTranslator |
CmsVfsConfiguration.getFolderTranslator()
Returns the folder resource translator that has been initialized
with the configured folder translation rules.
|
CmsResourceTranslator |
CmsVfsConfiguration.getXsdTranslator()
Returns the XSD translator that has been initialized
with the configured XSD translation rules.
|
限定符和类型 | 方法和说明 |
---|---|
CmsResourceTranslator |
CmsRequestContext.getDirectoryTranslator()
Returns the directory name translator this context was initialized with.
|
CmsResourceTranslator |
CmsRequestContext.getFileTranslator()
Returns the file name translator this context was initialized with.
|
构造器和说明 |
---|
CmsRequestContext(CmsUser user,
CmsProject project,
java.lang.String requestedUri,
java.lang.String siteRoot,
java.util.Locale locale,
java.lang.String encoding,
java.lang.String remoteAddr,
long requestTime,
CmsResourceTranslator directoryTranslator,
CmsResourceTranslator fileTranslator,
java.lang.String ouFqn)
Constructs a new request context.
|
限定符和类型 | 方法和说明 |
---|---|
CmsResourceTranslator |
CmsResourceManager.getFileTranslator()
Returns the file translator.
|
CmsResourceTranslator |
CmsResourceManager.getFolderTranslator()
Returns the folder translator.
|
CmsResourceTranslator |
CmsResourceManager.getXsdTranslator()
Returns the XSD translator.
|
限定符和类型 | 方法和说明 |
---|---|
void |
CmsResourceManager.setTranslators(CmsResourceTranslator folderTranslator,
CmsResourceTranslator fileTranslator,
CmsResourceTranslator xsdTranslator)
Sets the folder, the file and the XSD translator.
|