|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.netbeans.api.diff.Diff
This class represents a visual diff presenter, that knows how to compute the differences between files and show them to the user.
Constructor Summary | |
Diff()
|
Method Summary | |
abstract Component |
createDiff(String name1,
String title1,
Reader r1,
String name2,
String title2,
Reader r2,
String MIMEType)
Show the visual representation of the diff between two sources. |
static Collection |
getAll()
Get all visual diff presenters registered in the system. |
static Diff |
getDefault()
Get the default visual diff presenter. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public Diff()
Method Detail |
public static Diff getDefault()
public static Collection getAll()
public abstract Component createDiff(String name1, String title1, Reader r1, String name2, String title2, Reader r2, String MIMEType) throws IOException
name1
- the name of the first sourcetitle1
- the title of the first sourcer1
- the first sourcename2
- the name of the second sourcetitle2
- the title of the second sourcer2
- the second resource compared with the first one.MIMEType
- the mime type of these sources
IOException
- when the reading from input streams fails.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |