public class ExcelSheetSourceProvider extends Object implements DataModelSourceProvider
DataModelSourceProvider from Excel Sheet.
This accepts URI:
| Constructor and Description |
|---|
ExcelSheetSourceProvider() |
| Modifier and Type | Method and Description |
|---|---|
<T> DataModelSource |
open(DataModelDefinition<T> definition,
URI source,
TestContext context)
Creates a
DataModelSource object corresponding to the specified URI. |
public <T> DataModelSource open(DataModelDefinition<T> definition, URI source, TestContext context) throws IOException
DataModelSourceProviderDataModelSource object corresponding to the specified URI.
If this object does not support the URI, or
the source does not exist on the specified URI,
this method will return null.
open in interface DataModelSourceProviderT - type of data modeldefinition - the data model definitionsource - the target identifiercontext - the current testing contextDataModelSource,
or null if the specified source is not valid for this objectIOException - if failed to load a DataModelSource from the URICopyright © 2011–2019 Asakusa Framework Team. All rights reserved.