public static String getEventName ( String channelName ) { int i = channelName . indexOf ( EVENT_PREFIX ) ; return i < 0 ? channelName : channelName . substring ( i + EVENT_PREFIX . length ( ) ) ; }
Returns the event name from the channel name .