Tool class for easy channel manipulation. This class is for internal usage.
More...
|
static boolean | isMask (String channel) |
|
static boolean | isName (String channel) |
|
static String | toUrl (String channel) |
|
Tool class for easy channel manipulation. This class is for internal usage.
◆ isMask()
static boolean isMask |
( |
String |
channel | ) |
|
|
static |
- Parameters
-
channel | the string to test |
- Returns
- true if the given argument is a valid channel mask
◆ isName()
static boolean isName |
( |
String |
channel | ) |
|
|
static |
- Parameters
-
channel | the string to test |
- Returns
- true if the given argument is a valid channel name
◆ toUrl()
static String toUrl |
( |
String |
channel | ) |
|
|
static |
Escape the given channel to be used in the URL path
- Parameters
-
channel | the string to escape |
- Returns
- the escaped channel