setContentType(String) method

Syntax

void setContentType ( String contentType )

Parameters

Usage

Sets the

content type

of this attachment.