Class NitfAttributeConverters
java.lang.Object
org.codice.alliance.transformer.nitf.NitfAttributeConverters
General NITF utility functions
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic StringfipsToStandardCountryCode(String fipsCode) Gets the alpha3 country code for a fips country code by delegating toCountryCodeSimple.static DatenitfDate(org.codice.imaging.nitf.core.common.DateTime nitfDateTime)
-
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 toCountryCodeSimple.- 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
-