|
TrueUpdate Core 0.5 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectnet.java.trueupdate.core.zip.diff.RawZipDiff
@Immutable public abstract class RawZipDiff
Compares two archives entry by entry.
Archives may be ZIP, JAR, EAR or WAR files.
This class requires you to implement its ZipFile and
MessageDigest properties, but enables you to obtain the delta
model besides diffing the input
archives.
| Constructor Summary | |
|---|---|
RawZipDiff()
|
|
| Method Summary | |
|---|---|
protected abstract MessageDigest |
digest()
Returns the message digest. |
protected abstract ZipInput |
input1()
Returns the first input archive. |
protected abstract ZipInput |
input2()
Returns the second input archive. |
DeltaModel |
model()
Computes a delta model from the two input archives. |
void |
output(ZipOutput delta)
Writes the delta ZIP file. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public RawZipDiff()
| Method Detail |
|---|
protected abstract MessageDigest digest()
@WillNotClose protected abstract ZipInput input1()
@WillNotClose protected abstract ZipInput input2()
public DeltaModel model()
throws IOException
IOException
public void output(@WillNotClose
ZipOutput delta)
throws IOException
IOException
|
TrueUpdate Core 0.5 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||