net/src/main/java/com/stanfy/enroscar/net/operation/BaseRequestBuilder.java
protected void addFileDescriptor(final String name, final AssetFileDescriptor fd, final String contentType, final String fileName) {
    final AssetFdBinaryData bdata = new AssetFdBinaryData();
    bdata.setFileDescriptor(fileName, fd);
    bdata.setName(name);
    bdata.setContentType(contentType);
    result.addBinaryData(bdata);
  }
protected void addFileDescriptor(final String name, final AssetFileDescriptor fd, final String contentType, final String fileName) {
    final AssetFdBinaryData bdata = new AssetFdBinaryData();
    bdata.setFileDescriptor(fileName, fd);
    bdata.setName(name);
    bdata.setContentType(contentType);
    result.addBinaryData(bdata);
  }
protected void addFileDescriptor ( final String name , final AssetFileDescriptor fd , final String contentType , final String fileName ) { final AssetFdBinaryData bdata = new AssetFdBinaryData ( ) ; bdata . setFileDescriptor ( fileName , fd ) ; bdata . setName ( name ) ; bdata . setContentType ( contentType ) ; result . addBinaryData ( bdata ) ; }
Setup binary content with the file descriptor.
@param name parameter name
@param fd file descriptor
@param contentType content MIME-type
@param fileName file name
Setup binary content with the file descriptor .