protected void addBinaryContent(final String name, final String contentName, final Uri data, final String contentType) {
    """
	Setup binary content with the local file.
	@param name parameter name
	@param contentName content name
	@param data content URI
	@param contentType content MIME-type
    """
    final ContentUriBinaryData bdata = new ContentUriBinaryData();
    bdata.setName(name);
    bdata.setContentUri(data, contentName);
    bdata.setContentType(contentType);
    result.addBinaryData(bdata);
  }
protected void addBinaryContent(final String name, final String contentName, final Uri data, final String contentType) {
    final ContentUriBinaryData bdata = new ContentUriBinaryData();
    bdata.setName(name);
    bdata.setContentUri(data, contentName);
    bdata.setContentType(contentType);
    result.addBinaryData(bdata);
  }
protected void addBinaryContent ( final String name , final String contentName , final Uri data , final String contentType ) { final ContentUriBinaryData bdata = new ContentUriBinaryData ( ) ; bdata . setName ( name ) ; bdata . setContentUri ( data , contentName ) ; bdata . setContentType ( contentType ) ; result . addBinaryData ( bdata ) ; }
Setup binary content with the local file.
@param name parameter name
@param contentName content name
@param data content URI
@param contentType content MIME-type
Setup binary content with the local file .