Class WildcardConfiguration
- java.lang.Object
-
- org.apache.activemq.artemis.core.config.WildcardConfiguration
-
- All Implemented Interfaces:
Serializable
public class WildcardConfiguration extends Object implements Serializable
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description WildcardConfiguration()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
convert(String input, WildcardConfiguration target)
Convert the input from this WildcardConfiguration into the specified WildcardConfiguration.boolean
equals(Object o)
char
getAnyWords()
String
getAnyWordsString()
char
getDelimiter()
String
getDelimiterString()
char
getSingleWord()
String
getSingleWordString()
int
hashCode()
boolean
isRoutingEnabled()
WildcardConfiguration
setAnyWords(char anyWords)
WildcardConfiguration
setDelimiter(char delimiter)
WildcardConfiguration
setRoutingEnabled(boolean routingEnabled)
WildcardConfiguration
setSingleWord(char singleWord)
String
toString()
-
-
-
Method Detail
-
isRoutingEnabled
public boolean isRoutingEnabled()
-
setRoutingEnabled
public WildcardConfiguration setRoutingEnabled(boolean routingEnabled)
-
getAnyWords
public char getAnyWords()
-
getAnyWordsString
public String getAnyWordsString()
-
setAnyWords
public WildcardConfiguration setAnyWords(char anyWords)
-
getDelimiter
public char getDelimiter()
-
getDelimiterString
public String getDelimiterString()
-
setDelimiter
public WildcardConfiguration setDelimiter(char delimiter)
-
getSingleWord
public char getSingleWord()
-
getSingleWordString
public String getSingleWordString()
-
setSingleWord
public WildcardConfiguration setSingleWord(char singleWord)
-
convert
public String convert(String input, WildcardConfiguration target)
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
-
-