}
private void applyPatchDirectory(File patchDir) throws Throwable
{
Multimap<String, File> patches = ArrayListMultimap.create();
for (File f : patchDir.listFiles(new FileWildcardFilter("*.patch")))
{
String base = f.getName();
patches.put(base, f);
for(File e : patchDir.listFiles(new FileWildcardFilter(base + ".*")))
{
patches.put(base, e);
}
}