/trunk/src/org/tela_botanica/del/client/utils/URLUtils.java |
---|
1,6 → 1,7 |
package org.tela_botanica.del.client.utils; |
import com.google.gwt.user.client.History; |
import com.google.gwt.user.client.Window; |
public class URLUtils { |
12,7 → 13,11 |
public static String getURLSpecialParameterValue() { |
String historyToken = History.getToken(); |
int debutParam = historyToken.indexOf("~"); |
return historyToken.substring(debutParam + 1); |
String specialParam = null; |
if(debutParam != -1) { |
specialParam = historyToken.substring(debutParam + 1); |
} |
return specialParam; |
} |
} |