src/doge/parser/FileVerifier.java
public static boolean isFileAndModListMatched(RandomAccessFile fh,
            HashMap<String, Function> listOfNewFunctions,
            ModificationList listOfMods) throws IOException {
        boolean result = true;

        ArrayList<Modification> listOfModificationObjects = listOfMods.getListOfMods();
        for (Modification mod : listOfModificationObjects) {
            boolean fileAndModMatch = FileVerifier
                    .isFileAndOldModMatched(fh, listOfNewFunctions, mod);
            result = result && fileAndModMatch;
        }

        return result;
    }
/**
     * Check if the file matches the original state of ALL MODS
     *
     * @param fh RandomAccessFile for better performance
     * @param listOfNewFunctions can be gotten from DumpParser
     * @param listOfMods a ModificationList object
     * @return true if they match, else false
     */
Check if the file matches the original state of ALL MODS
@param fh RandomAccessFile for better performance
@param listOfNewFunctions can be gotten from DumpParser
@param listOfMods a ModificationList object
@return true if they match, else false
Check if the file matches the original state of ALL MODS @param fh RandomAccessFile for better performance @param listOfNewFunctions can be gotten from DumpParser @param listOfMods a ModificationList object @return true if they match else false
public static boolean isFileAndModListMatched(RandomAccessFile fh,
            HashMap<String, Function> listOfNewFunctions,
            ModificationList listOfMods) throws IOException {
        boolean result = true;
        ArrayList<Modification> listOfModificationObjects = listOfMods.getListOfMods();
        for (Modification mod : listOfModificationObjects) {
            boolean fileAndModMatch = FileVerifier
                    .isFileAndOldModMatched(fh, listOfNewFunctions, mod);
            result = result && fileAndModMatch;
        }
        return result;
    }
public static boolean isFileAndModListMatched ( RandomAccessFile fh , HashMap < String , Function > listOfNewFunctions , ModificationList listOfMods ) throws IOException { boolean result = true ; ArrayList < Modification > listOfModificationObjects = listOfMods . getListOfMods ( ) ; for ( Modification mod : listOfModificationObjects ) { boolean fileAndModMatch = FileVerifier . isFileAndOldModMatched ( fh , listOfNewFunctions , mod ) ; result = result && fileAndModMatch ; } return result ; }
Check if the file matches the original state of ALL MODS
 @param fh RandomAccessFile for better performance
 @param listOfNewFunctions can be gotten from DumpParser
 @param listOfMods a ModificationList object
 @return true if they match, else false
Check if the file matches the original state of ALL MODS @param fh RandomAccessFile for better performance @param listOfNewFunctions can be gotten from DumpParser @param listOfMods a ModificationList object @return true if they match else false