Class EmbosserTable<T>

Type Parameters:
T -
All Implemented Interfaces:
Serializable, Comparable<Factory>, Table, Factory

public class EmbosserTable<T> extends AbstractTable
Provides an embosser table implementation. This implementation assumes that each character matches a single braille pattern, and vice versa.
Author:
Joel HÃ¥kansson
See Also:
  • Constructor Details

    • EmbosserTable

      public EmbosserTable(String name, String desc, T type, ConfigurableTableProvider<T> provider)
      Creates a new EmbosserTable with the supplied settings
      Parameters:
      name - the name for the table
      desc - the description for the table
      type - the type of table
      provider - the provider
  • Method Details

    • newBrailleConverter

      public BrailleConverter newBrailleConverter()
      Description copied from interface: Table
      Creates a new BrailleConverter based on the current configuration of this Table.
      Returns:
      returns a new BrailleConverter instance
    • setFeature

      public void setFeature(String key, Object value)
      Description copied from interface: Factory
      Sets a feature for new Objects returned by this Factory
      Parameters:
      key - the key for the feature
      value - the value of the feature
    • getProperty

      public Object getProperty(String key)
      Description copied from interface: Factory
      Gets the value of a read-only property that applies to all objects returned by this Factory.
      Parameters:
      key - the name of the property to get
      Returns:
      returns the value associated with this property or null if none is found
    • getFeature

      public Object getFeature(String key)
      Description copied from interface: Factory
      Gets the value of a feature used by this Factory
      Parameters:
      key - the key for the feature
      Returns:
      returns the current value of the feature