Module org.hdfgroup.hdfview
Package hdf.view.TableView

# Class DataDisplayConverterFactory

Object
hdf.view.TableView.DataDisplayConverterFactory

public class DataDisplayConverterFactory extends Object
A Factory class to return a concrete class implementing the IDisplayConverter interface in order to convert data values into human-readable forms in a NatTable. The returned class is also responsible for converting the human-readable form back into real data when writing the data object back to the file.

Version:
  1.0 2/9/2019
Author:
  Jordan T. Henderson

- ## Nested Class Summary

  Nested Classes
  Modifier and Type
  Class
  Description
  `static class`
  `DataDisplayConverterFactory.HDFDisplayConverter`
  the HDF extension for data converters

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `DataDisplayConverterFactory()`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `static DataDisplayConverterFactory.HDFDisplayConverter`
  `getDataDisplayConverter(DataFormat dataObject)`
  Get the Data Display Converter for the supplied data object

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Constructor Details

  - ### DataDisplayConverterFactory

    public DataDisplayConverterFactory()

- ## Method Details

  - ### getDataDisplayConverter

    public static DataDisplayConverterFactory.HDFDisplayConverter getDataDisplayConverter(DataFormat dataObject) throws Exception
    Get the Data Display Converter for the supplied data object
    Parameters:
      `dataObject` - the data object
    Returns:
      the converter instance
    Throws:
      `Exception` - if a failure occurred