Class Blog

A blog is content that is typically presented as reverse chronologically sorted on a single topic.

1public class Blog
2extends CategorizedItem

Fields 

FieldDescriptionModifier and Type
modifiedDateThe date and time when this blog was last modified.java.util.Date
subTitleSubtitle for the blog.java.lang.String

Fields inherited from class CategorizedItem:

Fields inherited from class Item:

modifiedDate 

1@Nullable
2public Date modifiedDate

The date and time when this blog was last modified. For other dates that can be set, see Item.expiration and Item.published.

subTitle 

1@Nullable
2public String subTitle

Subtitle for the blog. To set the title, see Item.name.

Constructors 

Blog 

Creates a blog with the required id only. The blog can then be further modified.

1public Blog(@NonNull
2       String id)

Parameters:

ParameterDescriptionRequired?
idSee Item.idYes

Methods 

MethodModifier and Type
fromJSONObject(org.json.JSONObject json, java.lang.String id)static Blog
getItemType()String

Methods inherited from class Item:

fromJSONObject 

1public static Blog fromJSONObject(org.json.JSONObject json,
2                                  java.lang.String id)

getItemType 

1public String getItemType()

Specified by getItemType in class Item.