protected String getManifestAttributeValue ( Attributes . Name attributeName ) { try { String value = attributes . getValue ( attributeName ) ; return value != null ? value : "undefined" ; } catch ( NullPointerException e ) { return "undefined" ; } catch ( IllegalArgumentException e ) { logger . error ( "Invalid attribute name when reading jar manifest for reading version information: " + e . getMessage ( ) ) ; return "undefined" ; } }
Gets the value of an attribute of the manifest .