目录

Class info
public static final class Comment.QuotedContent extends GenericJson
Comment-quoted content class.

Public Constructor Summary

Constructor name

Comment.QuotedContent()

Constructor for the Comment.QuotedContent class.

Public Method Summary

Return typeMethod name
String

getMimeType()

Obtains the MIME type of a file.

Comment.QuotedContent

setMimeType(String mimeType)

Sets the MIME type of a file.

String

getContent()

Obtains quoted content.

Comment.QuotedContent

setContent(String content)

Sets quoted content.

Comment.QuotedContent

set(String fieldName, Object value)

Sets the given field value for the given field name.

Comment.QuotedContent

clone()

Clones a Comment.QuotedContent object.

Public Constructors

constructor
Comment.QuotedContent ()
Constructs a Comment.QuotedContent object.

Public Methods

Method
public String getMimeType()
Obtains the MIME type of a file.

Return

typedesc
StringMIME type of a file.
Method


public Comment.QuotedContent setMimeType(String mimeType)

Sets the MIME type of a file.

Parameters

Parameter nameParameter desc
mimeTypeMIME type of a file.

Return

typedesc
Comment.QuotedContentA Comment.QuotedContent object.
Method


public String getContent()

Obtains quoted content.

Return

typedesc
StringQuoted content.
Method


public Comment.QuotedContent setContent(String content)

Sets quoted content.

Parameters

Parameter nameParameter desc
contentQuoted content.

Return

typedesc
Comment.QuotedContentA Comment.QuotedContent object.
Method


public Comment.QuotedContent set(String fieldName,Object value)

Sets the given field value for the given field name.

Parameters

Parameter nameParameter desc
fieldnameField name.
valueField value.

Return

typedesc
Comment.QuotedContentA Comment.QuotedContent object.
Method


public Comment.QuotedContent clone ()

Clones a Comment.QuotedContent object.

Return

typedesc
Comment.QuotedContentA Comment.QuotedContent object.