J2S needs to know any binary extensions for its file saving mechanism.
*/
public class Jalview2XML
{
+
+ // BH 2018 we add the .jvp binary extension to J2S so that
+ // it will declare that binary when we do the file save from the browser
+
+ private static void addJ2SBinaryType(String ext)
+ {
+ ext = "." + ext + "?";
+
+ /**
+ * @j2sNative
+ *
+ * J2S._binaryTypes.push(ext);
+ *
+ */
+ }
+
+ static
+ {
+ addJ2SBinaryType(".jvp?");
+ }
+
private static final String VIEWER_PREFIX = "viewer_";
private static final String RNA_PREFIX = "rna_";