public interface DataSource
extends java.io.Serializable
| Modifier and Type | Method and Description |
|---|---|
java.nio.file.Path |
dataLocation()
Gets the directory where datasets are located
|
void |
initialize(java.util.Map<java.lang.String,java.lang.String> options)
Initialize
|
void initialize(java.util.Map<java.lang.String,java.lang.String> options)
throws TaxRateLookupException
options - the name of dataset and its pathTaxRateLookupException - exception thrown when it fails to initializejava.nio.file.Path dataLocation()
throws TaxRateLookupException,
java.io.IOException
TaxRateLookupException - exception thrown when it fails to get the directoryjava.io.IOException - exception thrown when it fails to get the directory