zipdiff
Class Differences

java.lang.Object
  extended byzipdiff.Differences

public class Differences
extends java.lang.Object

Used to keep track of difference between 2 zip files.

Author:
Sean C. Sullivan

Constructor Summary
Differences()
           
 
Method Summary
 void fileAdded(java.lang.String fqn, java.util.zip.ZipEntry ze)
           
 void fileChanged(java.lang.String fqn, java.util.zip.ZipEntry z1, java.util.zip.ZipEntry z2)
           
 void fileIgnored(java.lang.String fqn, java.util.zip.ZipEntry ze)
           
 void fileRemoved(java.lang.String fqn, java.util.zip.ZipEntry ze)
           
 java.util.Map getAdded()
           
 java.util.Map getChanged()
           
 java.lang.String getFilename1()
           
 java.lang.String getFilename2()
           
 java.util.Map getIgnored()
           
 java.util.Map getRemoved()
           
 boolean hasDifferences()
           
 void setFilename1(java.lang.String filename)
           
 void setFilename2(java.lang.String filename)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Differences

public Differences()
Method Detail

setFilename1

public void setFilename1(java.lang.String filename)

setFilename2

public void setFilename2(java.lang.String filename)

getFilename1

public java.lang.String getFilename1()

getFilename2

public java.lang.String getFilename2()

fileAdded

public void fileAdded(java.lang.String fqn,
                      java.util.zip.ZipEntry ze)

fileRemoved

public void fileRemoved(java.lang.String fqn,
                        java.util.zip.ZipEntry ze)

fileIgnored

public void fileIgnored(java.lang.String fqn,
                        java.util.zip.ZipEntry ze)

fileChanged

public void fileChanged(java.lang.String fqn,
                        java.util.zip.ZipEntry z1,
                        java.util.zip.ZipEntry z2)

getAdded

public java.util.Map getAdded()

getRemoved

public java.util.Map getRemoved()

getChanged

public java.util.Map getChanged()

getIgnored

public java.util.Map getIgnored()

hasDifferences

public boolean hasDifferences()

toString

public java.lang.String toString()


Copyright © 2004 zipdiff.sourceforge.net. All Rights Reserved.