|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectndiff.Ndiff
public class Ndiff
Constructor Summary | |
---|---|
Ndiff()
Costruttore |
|
Ndiff(java.lang.String configPath)
Costruttore |
Method Summary | |
---|---|
DOMDocument |
diff(java.lang.String URIdocA,
java.lang.String URIdocB)
Calcola il diff tra i due documenti e restituisce il DOMDocument corrispondente al delta |
void |
diff(java.lang.String URIdocA,
java.lang.String URIdocB,
java.lang.String URIdelta)
Calcola il diff tra docA e docB e salva il delta in URIdelta |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Ndiff(java.lang.String configPath)
configPath
- File XML relativo alla configurazione dell'algoritmopublic Ndiff()
Method Detail |
---|
public DOMDocument diff(java.lang.String URIdocA, java.lang.String URIdocB) throws InputFileException, ComputePhaseException
URIdocA
- Percorso del documento originale da confrontareURIdocB
- Percorso del documento modificato da confrontare
InputFileException
ComputePhaseException
public void diff(java.lang.String URIdocA, java.lang.String URIdocB, java.lang.String URIdelta) throws InputFileException, OutputFileException, ComputePhaseException
URIdocA
- Percorso del documento originale da confrontareURIdocB
- Percorso del documento modificato da confrontareURIdelta
- Percorso in cui salvare il file XML relativo al delta
InputFileException
OutputFileException
ComputePhaseException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |