public static String extractAttributeValueNoEmptyCheck ( Entry entry , String attributeType ) { Attribute attribute = entry . get ( attributeType ) ; if ( attribute == null ) { return null ; } try { return attribute . getString ( ) ; } catch ( LdapInvalidAttributeValueException e ) { throw new LdapRuntimeException ( e ) ; } }
Returns the value of the attribute of attributeType from entry .