fixes for Jalview command-line URI code
[jalview.git] / src / jalview / util / Platform.java
index c0c8966..8ebc67e 100644 (file)
@@ -568,4 +568,19 @@ public class Platform
      */
   }
 
+  public static void getURLCommandArguments()
+  {
+
+    /**
+     * Retrieve the first query field as command arguments to Jalview. Include
+     * only if prior to "?j2s" or "&j2s" or "#". Assign the applet's __Info.args
+     * element to this value.
+     * 
+     * @j2sNative var a =
+     *            decodeURI(document.location.href.replace("&","?").split("?j2s")[0].split("?")[1].split("#")[0]);
+     *            a && (J2S.thisApplet.__Info.args = a.split(" "));
+     */
+
+  }
+
 }