CloudPlugs REST Library  1.0.0
for Android
Channel Class Reference

Tool class for easy channel manipulation. This class is for internal usage. More...

Static Public Member Functions

static boolean isMask (String channel)
 
static boolean isName (String channel)
 
static String toUrl (String channel)
 

Detailed Description

Tool class for easy channel manipulation. This class is for internal usage.

Member Function Documentation

◆ isMask()

static boolean isMask ( String  channel)
static
Parameters
channelthe string to test
Returns
true if the given argument is a valid channel mask

◆ isName()

static boolean isName ( String  channel)
static
Parameters
channelthe 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
channelthe string to escape
Returns
the escaped channel