|
Bibi 19 Oct 2005 21:04 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object ujap.bibi.Merger
Field Summary | |
private JDialog |
d
|
(package private) EntryEditor |
ed1
|
(package private) EntryEditor |
ed2
|
private int |
merge
|
(package private) JButton |
none
|
Constructor Summary | |
Merger()
|
Method Summary | |
private static boolean |
almostEqual(Entry e1,
Entry e2)
Find out if these two fields are similar and could be two different representations for the same information (Entry). |
private static String |
getField(Entry e,
String fieldName)
|
Collection |
merge(Collection c1,
Collection c2)
returns a Collections wich was merges fron the two input collections, or null if merging was cancelled. |
private static Fields |
merge(Fields f1,
Fields f2)
returns a new Fields object containing the merge result, or null if the program could not decide what to do and wants to ask the user |
(package private) Collection |
removeDuplicates(Collection c)
may return null if user calcelled. |
private int |
showMergeDialog(Entry e1,
Entry e2,
boolean showNone)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
EntryEditor ed1
EntryEditor ed2
private JDialog d
private int merge
JButton none
Constructor Detail |
public Merger()
Method Detail |
public Collection merge(Collection c1, Collection c2)
private static boolean almostEqual(Entry e1, Entry e2)
private int showMergeDialog(Entry e1, Entry e2, boolean showNone)
private static Fields merge(Fields f1, Fields f2)
private static String getField(Entry e, String fieldName)
Collection removeDuplicates(Collection c)
|
Bibi 19 Oct 2005 21:04 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |