public class HtmlDifferenceSink extends Object implements DifferenceSink
DifferenceSink as a HTML file.| Constructor and Description | 
|---|
| HtmlDifferenceSink(File output,
                  DataModelDefinition<?> definition)Creates a new instance. | 
| Modifier and Type | Method and Description | 
|---|---|
| void | close() | 
| void | put(Difference difference)Puts a difference object into this channel. | 
public HtmlDifferenceSink(File output, DataModelDefinition<?> definition) throws IOException
output - target filedefinition - definitionIOException - if failed to initialize the target fileIllegalArgumentException - if some parameters were nullpublic void put(Difference difference) throws IOException
DifferenceSinkput in interface DifferenceSinkdifference - target difference objectIOException - if failed to put the objectpublic void close()
           throws IOException
close in interface Closeableclose in interface AutoCloseableIOExceptionCopyright © 2011–2018 Asakusa Framework Team. All rights reserved.