public void addBodyFileUploads ( String name , File [ ] file , String [ ] contentType , boolean [ ] isText ) throws ErrorDataEncoderException { if ( file . length != contentType . length && file . length != isText . length ) { throw new IllegalArgumentException ( "Different array length" ) ; } for ( int i = 0 ; i < file . length ; i ++ ) { addBodyFileUpload ( name , file [ i ] , contentType [ i ] , isText [ i ] ) ; } }
Add a series of Files associated with one File parameter