public KuraTopic(String fullTopic) 
	{	    
		m_fullTopic = fullTopic;		
		if(fullTopic.compareTo("#") == 0) {
			return;
		}
		
		m_topicParts = fullTopic.split("/");		
		if (m_topicParts.length == 0) {
			return;
		}
		
		// prefix
		int index  = 0;
		int offset = 0; // skip a slash
		if (m_topicParts[0].startsWith("$")) {			
			m_prefix = m_topicParts[index];
			offset += m_prefix.length()+1;
			index++;
		}
		
		// account name
		if (index < m_topicParts.length) {
			m_accountName = m_topicParts[index];
			offset += m_accountName.length()+1;
			index++;
		}

		// deviceId
		if (index < m_topicParts.length) {
			m_deviceId = m_topicParts[index];
			offset += m_deviceId.length()+1;
			index++;
		}

		// applicationId
		if (index < m_topicParts.length) {
			m_applicationId = m_topicParts[index];
			offset += m_applicationId.length()+1;
			index++;
		}
		
		// applicationTopic
		if (offset < m_fullTopic.length()) {
			m_applicationTopic = m_fullTopic.substring(offset);
		}
	}