Package com.luciad.format.s57
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 Summary
ConstructorsConstructorDescriptionTLcdS57ObjectClassDescriptionMap(String aSource) Creates a newTLcdS57ObjectClassDescriptionMap, initialized with the given resource bundle. -
Method Summary
-
Constructor Details
-
TLcdS57ObjectClassDescriptionMap
Creates a newTLcdS57ObjectClassDescriptionMap, initialized with the given resource bundle.- Parameters:
aSource- the name of the resource bundle, containing textual descriptions of object classes.- Throws:
NullPointerException- ifaSourceisnullMissingResourceException- if no resource bundle for the specified base name can be found
-
-
Method Details
-
getName
Description copied from interface:ILcdS57ObjectClassDescriptionMapReturns a textual description for the object class specified by the given acronym, ornullif no description is available for the specified object class.- Specified by:
getNamein interfaceILcdS57ObjectClassDescriptionMap- Parameters:
aAcronym- the six-digit acronym identifying the object class.- Returns:
- a textual description for the specified object class.
-