public class ExcelSheetSinkFactory extends DataModelSinkFactory
DataModelSinkFactory
to create an Excel sheet.Constructor and Description |
---|
ExcelSheetSinkFactory(File output)
Creates a new instance.
|
ExcelSheetSinkFactory(String output)
Creates a new instance.
|
Modifier and Type | Method and Description |
---|---|
<T> DataModelSink |
createSink(DataModelDefinition<T> definition,
TestContext context)
Creates a new sink.
|
String |
toString() |
public ExcelSheetSinkFactory(File output)
output
- output target fileIllegalArgumentException
- if some parameters were null
public ExcelSheetSinkFactory(String output)
output
- output target fileIllegalArgumentException
- if some parameters were null
public <T> DataModelSink createSink(DataModelDefinition<T> definition, TestContext context) throws IOException
DataModelSinkFactory
createSink
in class DataModelSinkFactory
T
- type of data modeldefinition
- the data model definitioncontext
- the current testing contextIOException
- if failed to create a sink objectCopyright © 2011–2019 Asakusa Framework Team. All rights reserved.