public byte [ ] getBinary ( String attrName ) { Object val = attributes . get ( attrName ) ; return toByteArray ( val ) ; }
Returns the value of the specified attribute in the current item as a byte array ; or null if the attribute either doesn t exist or the attribute value is null .