@@ -0,0 +1,1494 @@
+// Copyright 2020 Reimar D%C3%B6ffinger. All Rights Reserved.%0A//%0A// Licensed under the Apache License, Version 2.0 (the %22License%22);%0A// you may not use this file except in compliance with the License.%0A// You may obtain a copy of the License at%0A//%0A//     http://www.apache.org/licenses/LICENSE-2.0%0A//%0A// Unless required by applicable law or agreed to in writing, software%0A// distributed under the License is distributed on an %22AS IS%22 BASIS,%0A// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.%0A// See the License for the specific language governing permissions and%0A// limitations under the License.%0A%0Apackage com.hughes.android.dictionary.engine;%0A%0Aimport java.util.Arrays;%0A%0Apublic class Runner %7B%0A    public static void main(final String%5B%5D args) throws Exception %7B%0A        if (args.length == 0) %7B%0A            System.out.println(%22Specify WiktionarySplitter, DictionaryBuilder or ConvertToV6 as first argument%22);%0A            return;%0A        %7D%0A        String%5B%5D newargs = Arrays.copyOfRange(args, 1, args.length);%0A        if (args%5B0%5D.equals(%22WiktionarySplitter%22)) %7B%0A            WiktionarySplitter.main(newargs);%0A        %7D else if (args%5B0%5D.equals(%22DictionaryBuilder%22)) %7B%0A            DictionaryBuilder.main(newargs);%0A        %7D else if (args%5B0%5D.equals(%22ConvertToV6%22)) %7B%0A            ConvertToV6.main(newargs);%0A        %7D else %7B%0A            System.out.println(%22Unknown command '%22 + args%5B0%5D + %22'. Use one of WiktionarySplitter, DictionaryBuilder or ConvertToV6 instead.%22);%0A        %7D%0A    %7D%0A%7D%0A

Add Runner class to allow to run all of the programs.