public final class PlainDiffListener extends DiffListenerAdapter
Constructor and Description |
---|
PlainDiffListener(java.lang.String outFile) |
Modifier and Type | Method and Description |
---|---|
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.
|
start
public PlainDiffListener(java.lang.String outFile) throws java.io.IOException
java.io.IOException
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()
Copyright © 2003-2012 Lars K??hne. All Rights Reserved.