if (event != null && !"".equals(event.trim())) { int index1 = event.indexOf("("); int index2 = event.indexOf(")"); if (index1 > -1 && index2 > -1) { this.onFileClickEventName = event.substring(0, index1); this.onFileClickEventParameter = event.substring(index1+1, index2); if (this.onFileClickEventParameter.trim().equals("")) { this.onFileClickEventParameter = null; } } }
onFileClickEventName = event;
	public void setOnFileClickEvent(String event) {		if (event != null && !"".equals(event.trim())) {			int index1 = event.indexOf("(");			int index2 = event.indexOf(")");			if (index1 > -1 && index2 > -1) {				this.onFileClickEventName = event.substring(0, index1);				this.onFileClickEventParameter = event.substring(index1+1, index2);				if (this.onFileClickEventParameter.trim().equals("")) {					this.onFileClickEventParameter = null;				}			}		}	}