public void startPart(String contentType,String[] headers) throws IOException {
  writeCurrentBoundary();
  if (contentType != null) {
    writeString(MimeUtils.HEADER_CONTENT_TYPE + ": " + contentType);
    out.write(CRLF);
  }
  for (int i=0; headers != null && i < headers.length; i++) {
    writeString(headers[i]);
    out.write(CRLF);
  }
  out.write(CRLF);
}

public void startPart ( String contentType , String [ ] headers ) throws IOException { writeCurrentBoundary ( ) ; if ( contentType != null ) { writeString ( MimeUtils . HEADER_CONTENT_TYPE + ": " + contentType ) ; out . write ( CRLF ) ; } for ( int i = 0 ; headers != null && i < headers . length ; i ++ ) { writeString ( headers [ i ] ) ; out . write ( CRLF ) ; } out . write ( CRLF ) ; }
starts new mime part . use write ( ) method to write content of the part .
