Merge branch 'documentation/JAL-3111_release_211' into bug/JAL-2830_editManglesDatase...
[jalview.git] / getdown / src / getdown / core / src / main / java / com / threerings / getdown / tools / JarDiffCodes.java
diff --git a/getdown/src/getdown/core/src/main/java/com/threerings/getdown/tools/JarDiffCodes.java b/getdown/src/getdown/core/src/main/java/com/threerings/getdown/tools/JarDiffCodes.java
new file mode 100644 (file)
index 0000000..3b5db80
--- /dev/null
@@ -0,0 +1,24 @@
+//
+// Getdown - application installer, patcher and launcher
+// Copyright (C) 2004-2018 Getdown authors
+// https://github.com/threerings/getdown/blob/master/LICENSE
+
+package com.threerings.getdown.tools;
+
+/**
+ * Constants shared by {@link JarDiff} and {@link JarDiffPatcher}.
+ */
+public interface JarDiffCodes
+{
+    /** The name of the jardiff control file. */
+    String INDEX_NAME = "META-INF/INDEX.JD";
+
+    /** The version header used in the control file. */
+    String VERSION_HEADER = "version 1.0";
+
+    /** A jardiff command to remove an entry. */
+    String REMOVE_COMMAND = "remove";
+
+    /** A jardiff command to move an entry. */
+    String MOVE_COMMAND = "move";
+}