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 null
public void put(Difference difference) throws IOException
DifferenceSink
put
in interface DifferenceSink
difference
- target difference objectIOException
- if failed to put the objectpublic void close() throws IOException
close
in interface Closeable
close
in interface AutoCloseable
IOException
Copyright © 2011–2019 Asakusa Framework Team. All rights reserved.