Class TLcdS57ObjectClassDescriptionMap

java.lang.Object
com.luciad.format.s57.TLcdS57ObjectClassDescriptionMap
All Implemented Interfaces:
ILcdS57ObjectClassDescriptionMap

public class TLcdS57ObjectClassDescriptionMap extends Object implements ILcdS57ObjectClassDescriptionMap
Default implementation of ILcdS57ObjectClassDescriptionMap, retrieving its contents from a ResourceBundle.

The resource bundle should be structured as follows:

 ACRONYM.name=Object class name
 ...
 
  • Constructor Details

    • TLcdS57ObjectClassDescriptionMap

      public TLcdS57ObjectClassDescriptionMap(String aSource)
      Creates a new TLcdS57ObjectClassDescriptionMap, initialized with the given resource bundle.
      Parameters:
      aSource - the name of the resource bundle, containing textual descriptions of object classes.
      Throws:
      NullPointerException - if aSource is null
      MissingResourceException - if no resource bundle for the specified base name can be found
  • Method Details

    • getName

      public String getName(String aAcronym)
      Description copied from interface: ILcdS57ObjectClassDescriptionMap
      Returns a textual description for the object class specified by the given acronym, or null if no description is available for the specified object class.
      Specified by:
      getName in interface ILcdS57ObjectClassDescriptionMap
      Parameters:
      aAcronym - the six-digit acronym identifying the object class.
      Returns:
      a textual description for the specified object class.