code: public final String getValue() {
          if (getUri() != null) {
              return Uris.decode(Strings.valueOf(getUri()));
          } else if (getBinary() != null) {
              // return Base64.encodeBytes(getBinary(), Base64.DONT_BREAK_LINES);
              try {
                  final BinaryEncoder encoder = EncoderFactory.getInstance()
                          .createBinaryEncoder(
                                  getParameter(Parameter.ENCODING));
                  return new String(encoder.encode(getBinary()));
              } catch (UnsupportedEncodingException | EncoderException uee) {
                  Logger log = LoggerFactory.getLogger(Attach.class);
                  log.error("Error encoding binary data", uee);
              }
          }
          return null;
      }
docs: {@inheritDoc}