public class ExtendUtils
extends java.lang.Object
限定符和类型 | 字段和说明 |
---|---|
static java.util.regex.Pattern |
HTML_PATTERN |
限定符 | 构造器和说明 |
---|---|
private |
ExtendUtils() |
限定符和类型 | 方法和说明 |
---|---|
static java.util.Map<java.lang.String,java.lang.String> |
getAttributeMap(CmsCategoryAttribute attribute) |
static java.util.Map<java.lang.String,java.lang.String> |
getAttributeMap(CmsContentAttribute attribute,
ContentConfigComponent.KeywordsConfig keywordsConfig) |
static java.util.Map<java.lang.String,java.lang.String> |
getAttributeMap(CmsPlaceAttribute attribute) |
static java.util.Map<java.lang.String,java.lang.String> |
getExtendMap(java.lang.String data) |
static java.lang.String |
getExtendString(java.util.Map<java.lang.String,java.lang.String> map,
java.lang.String sitePath,
java.util.function.BiConsumer<SysExtendField,java.lang.String> searchableConsumer,
java.util.List<SysExtendField>... extendFieldListArrays) |
static java.lang.String |
getExtendString(java.util.Map<java.lang.String,java.lang.String> map,
java.lang.String sitePath,
java.util.List<SysExtendField>... extendFieldListArrays) |
private static java.lang.String |
replaceEachOnce(java.lang.String text,
java.lang.String[] searchList,
java.lang.String[] replacementList,
java.util.concurrent.atomic.AtomicInteger counter) |
static java.lang.String |
replaceText(java.lang.String html,
ContentConfigComponent.KeywordsConfig keywordsConfig) |
public static java.util.Map<java.lang.String,java.lang.String> getAttributeMap(CmsCategoryAttribute attribute)
attribute
- public static java.util.Map<java.lang.String,java.lang.String> getAttributeMap(CmsContentAttribute attribute, ContentConfigComponent.KeywordsConfig keywordsConfig)
attribute
- keywordsConfig
- private static java.lang.String replaceEachOnce(java.lang.String text, java.lang.String[] searchList, java.lang.String[] replacementList, java.util.concurrent.atomic.AtomicInteger counter)
public static java.lang.String replaceText(java.lang.String html, ContentConfigComponent.KeywordsConfig keywordsConfig)
public static java.util.Map<java.lang.String,java.lang.String> getAttributeMap(CmsPlaceAttribute attribute)
attribute
- public static java.util.Map<java.lang.String,java.lang.String> getExtendMap(java.lang.String data)
data
- @SafeVarargs public static java.lang.String getExtendString(java.util.Map<java.lang.String,java.lang.String> map, java.lang.String sitePath, java.util.List<SysExtendField>... extendFieldListArrays)
map
- sitePath
- extendFieldListArrays
- @SafeVarargs public static java.lang.String getExtendString(java.util.Map<java.lang.String,java.lang.String> map, java.lang.String sitePath, java.util.function.BiConsumer<SysExtendField,java.lang.String> searchableConsumer, java.util.List<SysExtendField>... extendFieldListArrays)
map
- sitePath
- searchableConsumer
- extendFieldListArrays
-