-
- All Implemented Interfaces:
-
icu.windea.breezeframework.core.component.CaseFormat,icu.windea.breezeframework.core.component.CaseFormats.PathLikeCaseFormat,icu.windea.breezeframework.core.component.Component
public class CaseFormats.WindowsPath implements CaseFormat, CaseFormats.PathLikeCaseFormat
以反斜线分隔的路径。兼容开始和结尾的反斜线。
示例:
windows\path
-
-
Field Summary
Fields Modifier and Type Field Description private final StringcomponentIdprivate final Map<String, Object>componentParamspublic final static CaseFormats.WindowsPathINSTANCE
-
Method Summary
Modifier and Type Method Description Booleanmatches(String value)判断指定的字符串是否匹配指定的单词格式。 List<String>split(String value)基于单词格式,分割字符串。 Sequence<String>splitToSequence(String value)基于单词格式,分割字符串。 StringjoinToString(Array<String> value)基于单词格式,拼接字符串。 StringjoinToString(Iterable<String> value)基于单词格式,拼接字符串。 StringjoinToString(Sequence<String> value)基于单词格式,拼接字符串。 StringgetComponentId()Map<String, Object>getComponentParams()-
Methods inherited from class icu.windea.breezeframework.core.component.CaseFormats.WindowsPath
componentCopy -
Methods inherited from class icu.windea.breezeframework.core.component.CaseFormat
componentEquals, componentHashcode, componentToString -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
splitToSequence
Sequence<String> splitToSequence(String value)
基于单词格式,分割字符串。
-
joinToString
String joinToString(Array<String> value)
基于单词格式,拼接字符串。
-
joinToString
String joinToString(Iterable<String> value)
基于单词格式,拼接字符串。
-
joinToString
String joinToString(Sequence<String> value)
基于单词格式,拼接字符串。
-
getComponentId
String getComponentId()
-
getComponentParams
Map<String, Object> getComponentParams()
-
-
-
-