Class WildcardConfiguration
java.lang.Object
org.apache.activemq.artemis.core.config.WildcardConfiguration
- All Implemented Interfaces:
Serializable
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionconvert
(String input, WildcardConfiguration target) Convert the input from this WildcardConfiguration into the specified WildcardConfiguration.boolean
char
char
char
int
hashCode()
boolean
setAnyWords
(char anyWords) setDelimiter
(char delimiter) setRoutingEnabled
(boolean routingEnabled) setSingleWord
(char singleWord) toString()
-
Constructor Details
-
WildcardConfiguration
public WildcardConfiguration()
-
-
Method Details
-
equals
-
hashCode
public int hashCode() -
toString
-
isRoutingEnabled
public boolean isRoutingEnabled() -
setRoutingEnabled
-
getAnyWords
public char getAnyWords() -
getAnyWordsString
-
setAnyWords
-
getDelimiter
public char getDelimiter() -
getDelimiterString
-
setDelimiter
-
getSingleWord
public char getSingleWord() -
getSingleWordString
-
setSingleWord
-
convert
Convert the input from this WildcardConfiguration into the specified WildcardConfiguration. If the input already contains characters defined in the target WildcardConfiguration then those characters will be escaped and preserved as such in the returned String. That said, wildcard characters which are the same between the two configurations will not be escaped If the input already contains escaped characters defined in this WildcardConfiguration then those characters will be unescaped after conversion and restored in the returned String.- Parameters:
input
- the String to converttarget
- the WildcardConfiguration to convert the input into- Returns:
- the converted String
-