|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sf.clirr.core.DiffListenerAdapter
net.sf.clirr.core.PlainDiffListener
public final class PlainDiffListener
Constructor Summary | |
---|---|
PlainDiffListener(java.lang.String outFile)
|
Method Summary | |
---|---|
protected java.io.PrintStream |
getOutputStream()
Returns the output stream so subclasses can write data. |
void |
reportDiff(ApiDifference difference)
Does nothing |
void |
stop()
Writes a footer and closes the output stream if necessary. |
protected void |
writeFooter()
A hook to write footer info to the output stream. |
Methods inherited from class net.sf.clirr.core.DiffListenerAdapter |
---|
start |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PlainDiffListener(java.lang.String outFile) throws java.io.IOException
java.io.IOException
Method Detail |
---|
public void reportDiff(ApiDifference difference)
DiffListenerAdapter
reportDiff
in interface DiffListener
reportDiff
in class DiffListenerAdapter
difference
- the difference that has been detected.DiffListener.reportDiff(net.sf.clirr.core.ApiDifference)
protected final java.io.PrintStream getOutputStream()
public final void stop()
stop
in interface DiffListener
stop
in class DiffListenerAdapter
writeFooter()
protected void writeFooter()
stop()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |