-
- All Implemented Interfaces:
-
icu.windea.breezeframework.core.component.Component,icu.windea.breezeframework.core.component.Matcher
public interface CharMatcher implements Matcher<Char>
字符匹配器。
字符匹配器用于表示字符是否匹配某种格式。
-
-
Method Summary
Modifier and Type Method Description Stringremove(CharSequence charSequence)Stringretain(CharSequence charSequence)Stringcollapse(CharSequence charSequence, Character char)CharMatchercomponentCopy(Map<String, Object> componentParams)StringgetComponentId()Map<String, Object>getComponentParams()-
Methods inherited from class icu.windea.breezeframework.core.component.CharMatcher
matches -
Methods inherited from class icu.windea.breezeframework.core.component.Matcher
componentEquals, componentHashcode, componentToString -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
remove
String remove(CharSequence charSequence)
-
retain
String retain(CharSequence charSequence)
-
collapse
String collapse(CharSequence charSequence, Character char)
-
componentCopy
CharMatcher componentCopy(Map<String, Object> componentParams)
-
getComponentId
String getComponentId()
-
getComponentParams
Map<String, Object> getComponentParams()
-
-
-
-