Subversion Repositories eFlore/Applications.del

Rev

Rev 1407 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1407 Rev 1501
Line 1... Line 1...
1
package org.tela_botanica.del.client.utils;
1
package org.tela_botanica.del.client.utils;
Line 2... Line 2...
2
 
2
 
-
 
3
import com.google.gwt.user.client.History;
Line 3... Line 4...
3
import com.google.gwt.user.client.History;
4
import com.google.gwt.user.client.Window;
Line 4... Line 5...
4
 
5
 
5
public class URLUtils {
6
public class URLUtils {
Line 10... Line 11...
10
	 * @return
11
	 * @return
11
	 */
12
	 */
12
	public static String getURLSpecialParameterValue() {
13
	public static String getURLSpecialParameterValue() {
13
		String historyToken = History.getToken();
14
		String historyToken = History.getToken();
14
		int debutParam = historyToken.indexOf("~");
15
		int debutParam = historyToken.indexOf("~");
-
 
16
		String specialParam = null;
-
 
17
		if(debutParam != -1) {
15
		return historyToken.substring(debutParam + 1);
18
			specialParam = historyToken.substring(debutParam + 1);
-
 
19
		}
-
 
20
		return specialParam;
16
	}
21
	}
Line 17... Line 22...
17
 
22