X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=getdown%2Fsrc%2Fgetdown%2Fcore%2Fsrc%2Fmain%2Fjava%2Fcom%2Fthreerings%2Fgetdown%2Ftools%2FJarDiffCodes.java;fp=getdown%2Fsrc%2Fgetdown%2Fcore%2Fsrc%2Fmain%2Fjava%2Fcom%2Fthreerings%2Fgetdown%2Ftools%2FJarDiffCodes.java;h=3b5db80f64afe3caadfa167f116d365392e6a86a;hb=aace9d05c0870c703bfdfb28c1608213cee019bf;hp=0000000000000000000000000000000000000000;hpb=2a3bac30ae8290e912eb7ffe7ff7ec700b6cfaac;p=jalview.git 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 index 0000000..3b5db80 --- /dev/null +++ b/getdown/src/getdown/core/src/main/java/com/threerings/getdown/tools/JarDiffCodes.java @@ -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"; +}