@@ -0,0 +1,1214 @@
+package com.lion328.xenonlauncher.downloader.verifier;%0A%0Aimport java.io.File;%0Aimport java.io.IOException;%0Aimport java.util.ArrayList;%0Aimport java.util.List;%0A%0Apublic class MultipleFileVerifier implements FileVerifier%0A%7B%0A%0A    public static final int LOGIC_OR = 1;%0A    public static final int LOGIC_AND = 2;%0A%0A    private final List%3CFileVerifier%3E verifiers;%0A    private final int logicType;%0A%0A    public MultipleFileVerifier(FileVerifier first, FileVerifier second, int logicType)%0A    %7B%0A        this(new ArrayList%3CFileVerifier%3E(), logicType);%0A%0A        verifiers.add(first);%0A        verifiers.add(second);%0A    %7D%0A%0A    public MultipleFileVerifier(List%3CFileVerifier%3E verifiers, int logicType)%0A    %7B%0A        this.verifiers = verifiers;%0A        this.logicType = logicType;%0A    %7D%0A%0A    @Override%0A    public boolean isValid(File file) throws IOException%0A    %7B%0A        for (FileVerifier verifier : verifiers)%0A        %7B%0A            boolean valid = verifier.isValid(file);%0A%0A            if (logicType == LOGIC_OR && valid)%0A            %7B%0A                return true;%0A            %7D%0A            else if (logicType == LOGIC_AND && !valid)%0A            %7B%0A                return false;%0A            %7D%0A        %7D%0A%0A        return false;%0A    %7D%0A%7D%0A

Add MultipleFileVerifier