src/doge/parser/FileVerifier.java
public static boolean isFileAndNewModMatched(RandomAccessFile fh,
            HashMap<String, Function> listOfNewFunctions, Modification mod) throws IOException {
        for (Patch patch : mod.getPatches()) {
            boolean fileAndPatchMatch = FileVerifier
                    .isFileAndNewPatchMatched(fh, listOfNewFunctions, patch);
            if (!fileAndPatchMatch) {
                return false;
            }
        }
        return true;
    }
/**
     * Check if the file matches the desired state after applying a mod
     *
     * @param fh RandomAccessFile for better performance
     * @param listOfNewFunctions can be gotten from DumpParser
     * @param mod a Modification object
     * @return true if they match, else false
     */
Check if the file matches the desired state after applying a mod
@param fh RandomAccessFile for better performance
@param listOfNewFunctions can be gotten from DumpParser
@param mod a Modification object
@return true if they match, else false
Check if the file matches the desired state after applying a mod @param fh RandomAccessFile for better performance @param listOfNewFunctions can be gotten from DumpParser @param mod a Modification object @return true if they match else false
public static boolean isFileAndNewModMatched(RandomAccessFile fh,
            HashMap<String, Function> listOfNewFunctions, Modification mod) throws IOException {
        for (Patch patch : mod.getPatches()) {
            boolean fileAndPatchMatch = FileVerifier
                    .isFileAndNewPatchMatched(fh, listOfNewFunctions, patch);
            if (!fileAndPatchMatch) {
                return false;
            }
        }
        return true;
    }
public static boolean isFileAndNewModMatched ( RandomAccessFile fh , HashMap < String , Function > listOfNewFunctions , Modification mod ) throws IOException { for ( Patch patch : mod . getPatches ( ) ) { boolean fileAndPatchMatch = FileVerifier . isFileAndNewPatchMatched ( fh , listOfNewFunctions , patch ) ; if ( ! fileAndPatchMatch ) { return false ; } } return true ; }
Check if the file matches the desired state after applying a mod
 @param fh RandomAccessFile for better performance
 @param listOfNewFunctions can be gotten from DumpParser
 @param mod a Modification object
 @return true if they match, else false
Check if the file matches the desired state after applying a mod @param fh RandomAccessFile for better performance @param listOfNewFunctions can be gotten from DumpParser @param mod a Modification object @return true if they match else false