Class NitfAttributeConverters

java.lang.Object
org.codice.alliance.transformer.nitf.NitfAttributeConverters

public class NitfAttributeConverters extends Object
General NITF utility functions
  • Constructor Details

    • NitfAttributeConverters

      public NitfAttributeConverters()
  • Method Details

    • nitfDate

      @Nullable public static Date nitfDate(@Nullable org.codice.imaging.nitf.core.common.DateTime nitfDateTime)
    • fipsToStandardCountryCode

      @Nullable public static String fipsToStandardCountryCode(@Nullable String fipsCode) throws NitfAttributeTransformException
      Gets the alpha3 country code for a fips country code by delegating to CountryCodeSimple.
      Parameters:
      fipsCode - FIPS 10-4 country code to convert
      Returns:
      a ISO 3166 Alpha3 country code
      Throws:
      NitfAttributeTransformException - when the fipsCode maps to multiple ISO 3166-1 Alpha3 values