public class CmsEditorCssHandlerDefault extends java.lang.Object implements I_CmsEditorCssHandler
构造器和说明 |
---|
CmsEditorCssHandlerDefault() |
限定符和类型 | 方法和说明 |
---|---|
java.lang.String |
getUriStyleSheet(CmsObject cms,
java.lang.String editedResourcePath)
Returns the absolute VFS path of the CSS style sheet to use.
|
boolean |
matches(CmsObject cms,
java.lang.String editedResourcePath)
Checks if the handler can be used to determine the CSS style sheet based on the edited resource.
|
public java.lang.String getUriStyleSheet(CmsObject cms, java.lang.String editedResourcePath)
I_CmsEditorCssHandler
getUriStyleSheet
在接口中 I_CmsEditorCssHandler
cms
- the current OpenCms user contexteditedResourcePath
- the absolute VFS path of the currently edited resourceI_CmsEditorCssHandler.getUriStyleSheet(org.opencms.file.CmsObject, java.lang.String)
public boolean matches(CmsObject cms, java.lang.String editedResourcePath)
I_CmsEditorCssHandler
matches
在接口中 I_CmsEditorCssHandler
cms
- the current OpenCms user contexteditedResourcePath
- the absolute VFS path of the currently edited resourceI_CmsEditorCssHandler.matches(org.opencms.file.CmsObject, java.lang.String)