org.weborganic.ox.tool
Class DiffTextCommand.TextDiffxFormatter

java.lang.Object
  extended by org.weborganic.ox.tool.DiffTextCommand.TextDiffxFormatter
All Implemented Interfaces:
DiffXFormatter
Enclosing class:
DiffTextCommand

public static class DiffTextCommand.TextDiffxFormatter
extends Object
implements DiffXFormatter


Constructor Summary
DiffTextCommand.TextDiffxFormatter(Writer w)
           
 
Method Summary
 void checkClose()
           
 void delete(DiffXEvent e)
           
 void format(DiffXEvent e)
           
 boolean hasDiff()
           
 void insert(DiffXEvent e)
           
 void setConfig(DiffXConfig config)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DiffTextCommand.TextDiffxFormatter

public DiffTextCommand.TextDiffxFormatter(Writer w)
Method Detail

setConfig

public void setConfig(DiffXConfig config)
Specified by:
setConfig in interface DiffXFormatter

format

public void format(DiffXEvent e)
            throws IOException,
                   IllegalStateException
Specified by:
format in interface DiffXFormatter
Throws:
IOException
IllegalStateException

delete

public void delete(DiffXEvent e)
            throws IOException,
                   IllegalStateException
Specified by:
delete in interface DiffXFormatter
Throws:
IOException
IllegalStateException

insert

public void insert(DiffXEvent e)
            throws IOException,
                   IllegalStateException
Specified by:
insert in interface DiffXFormatter
Throws:
IOException
IllegalStateException

checkClose

public void checkClose()
                throws IOException,
                       IllegalStateException
Throws:
IOException
IllegalStateException

hasDiff

public boolean hasDiff()
Returns:
the hasDiff