Package org.daisy.braille.table
Interface ConfigurableTableProvider<T>
- Type Parameters:
T- Identifier type used when creating a new Table
- All Superinterfaces:
Provider<Table>,TableProvider
- All Known Implementing Classes:
AbstractConfigurableTableProvider,DefaultTableProvider
Provides a TableProvider which creates tables a specific type of
identifier
- Author:
- Joel HÃ¥kansson
-
Method Summary
Modifier and TypeMethodDescriptiongetFeature(String key) Gets a feature for the providerGets a new BrailleConverter based on the factory's current settings.voidsetFeature(String key, Object value) Sets a feature for the provider.
-
Method Details
-
getFeature
Gets a feature for the provider- Parameters:
key- the key- Returns:
- returns the value
- Throws:
IllegalArgumentException- if the feature is unknown
-
setFeature
Sets a feature for the provider.- Parameters:
key- the keyvalue- the value- Throws:
IllegalArgumentException- if the feature is unknown
-
newTable
Gets a new BrailleConverter based on the factory's current settings.- Parameters:
t- the type to return- Returns:
- returns a new BrailleConverter of type t
- Throws:
IllegalArgumentException- if the type is unknown
-