writeStringToFile(new File(target, "added"), "42", "UTF-8");
writeStringToFile(new File(target, "unchanged"), "foo", "UTF-8");
writeStringToFile(new File(target, "updated"), "ba42", "UTF-8");
ByteArrayOutputStream baos = new ByteArrayOutputStream();
// create diff
new DirDeltaCreator().create(source, target, TRUE, baos);
// read diff as zip
byte[] delta = baos.toByteArray();
ZipInputStream zis = new ZipInputStream(new ByteArrayInputStream(delta));
// check contents
ZipEntry indexEntry = zis.getNextEntry();