目录

Class info
public static final class Comment.QuotedContent extends GenericJson
评论所引用的文件内容。

Public Constructor Summary

Constructor name

Comment.QuotedContent()

Comment.QuotedContent类构造方法。

Public Method Summary

Return typeMethod name
String

getMimeType()

获取文件mime类型。

Comment.QuotedContent

setMimeType(String mimeType)

设置文件mime类型。

String

getContent()

获取引用的内容本身。

Comment.QuotedContent

setContent(String content)

设置引用的内容本身。

Comment.QuotedContent

set(String fieldName, Object value)

设置自定义属性及属性值。

Comment.QuotedContent

clone()

克隆一个Comment.QuotedContent类对象。

Public Constructors

constructor
Comment.QuotedContent()
构造一个Comment.QuotedContent对象。

Public Methods

Method
public String getMimeType()
获取文件mime类型。

Return

typedesc
String返回文件mime类型。
Method
public Comment.QuotedContent setMimeType(String mimeType)
设置文件mime类型。

Parameters

Parameter nameParameter desc
mimeType文件mime类型。

Return

typedesc
Comment.QuotedContent返回一个Comment.QuotedContent对象。
Method


public String getContent()

获取引用的内容本身。

Return

typedesc
String返回引用的内容本身。
Method


public Comment.QuotedContent setContent(String content)

设置引用的内容本身。

Parameters

Parameter nameParameter desc
content引用的内容本身。

Return

typedesc
Comment.QuotedContent返回一个Comment.QuotedContent对象。
Method


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

设置field名称和filed值。

Parameters

Parameter nameParameter desc
fieldname要设置的fieldName。
value对应fieldName的值。

Return

typedesc
Comment.QuotedContent返回一个Comment.QuotedContent对象。
Method


public Comment.QuotedContent clone ()

克隆一个Comment.QuotedContent类对象。

Return

typedesc
Comment.QuotedContent返回一个Comment.QuotedContent对象。