net/src/main/java/com/stanfy/enroscar/rest/request/net/multipart/Part.java
protected void sendContentTypeHeader(final OutputStream out) throws IOException {
    if (DEBUG) { Log.v(TAG, "enter sendContentTypeHeader(OutputStream out)"); }
    final String contentType = getContentType();
    if (contentType != null) {
      out.write(CRLF_BYTES);
      out.write(CONTENT_TYPE_BYTES);
      out.write(EncodingUtils.getAsciiBytes(contentType));
      final String charSet = getCharSet();
      if (charSet != null) {
        out.write(CHARSET_BYTES);
        out.write(EncodingUtils.getAsciiBytes(charSet));
      }
    }
  }
protected void sendContentTypeHeader(final OutputStream out) throws IOException {
    if (DEBUG) { Log.v(TAG, "enter sendContentTypeHeader(OutputStream out)"); }
    final String contentType = getContentType();
    if (contentType != null) {
      out.write(CRLF_BYTES);
      out.write(CONTENT_TYPE_BYTES);
      out.write(EncodingUtils.getAsciiBytes(contentType));
      final String charSet = getCharSet();
      if (charSet != null) {
        out.write(CHARSET_BYTES);
        out.write(EncodingUtils.getAsciiBytes(charSet));
      }
    }
  }
protected void sendContentTypeHeader ( final OutputStream out ) throws IOException { if ( DEBUG ) { Log . v ( TAG , "enter sendContentTypeHeader(OutputStream out)" ) ; } final String contentType = getContentType ( ) ; if ( contentType != null ) { out . write ( CRLF_BYTES ) ; out . write ( CONTENT_TYPE_BYTES ) ; out . write ( EncodingUtils . getAsciiBytes ( contentType ) ) ; final String charSet = getCharSet ( ) ; if ( charSet != null ) { out . write ( CHARSET_BYTES ) ; out . write ( EncodingUtils . getAsciiBytes ( charSet ) ) ; } } }
Write the content type header to the specified output stream.
@param out The output stream
@throws IOException If an IO problem occurs.
Write the content type header to the specified output stream .