Class IndexTableProvider
- java.lang.Object
-
- org.daisy.braille.utils.impl.provider.indexbraille.IndexTableProvider
-
- All Implemented Interfaces:
Provider<FactoryProperties>
,TableProvider
public class IndexTableProvider extends Object implements TableProvider
-
-
Constructor Summary
Constructors Constructor Description IndexTableProvider()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Collection<FactoryProperties>
list()
Lists all Factories.Table
newFactory(String identifier)
Creates a new table with the specified identifier.BrailleConverter
newTable(org.daisy.braille.utils.impl.provider.indexbraille.IndexTableProvider.TableType t)
Get a new table instance based on the factory's current settings.
-
-
-
Method Detail
-
newTable
public BrailleConverter newTable(org.daisy.braille.utils.impl.provider.indexbraille.IndexTableProvider.TableType t)
Get a new table instance based on the factory's current settings.- Parameters:
t
- the type of table to return, this will override the factory's default table type.- Returns:
- returns a new table instance.
-
newFactory
public Table newFactory(String identifier)
Description copied from interface:TableProvider
Creates a new table with the specified identifier.- Specified by:
newFactory
in interfaceTableProvider
- Parameters:
identifier
- the identifier- Returns:
- returns a new table
-
list
public Collection<FactoryProperties> list()
Description copied from interface:Provider
Lists all Factories.- Specified by:
list
in interfaceProvider<FactoryProperties>
- Returns:
- returns a collection of Factories
-
-