Subversion Repositories eFlore/Applications.del

Rev

Rev 1407 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | RSS feed

package org.tela_botanica.del.client.utils;

import com.google.gwt.user.client.History;

public class URLUtils {

        /**
         * Renvoie le parametre contenu apres le signe ~dans l'url
         * Utile pour passer des parampetres dynamiquement
         * @return
         */
        public static String getURLSpecialParameterValue() {
                String historyToken = History.getToken();
                int debutParam = historyToken.indexOf("~");
                return historyToken.substring(debutParam + 1);
        }

}