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
modifiedDateDate 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 

1public java.util.Date modifiedDate

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

subTitle 

1public java.lang.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(java.lang.String id)

Parameters:

ParameterDescriptionRequired?
idSee Item.idYes

Methods 

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

Methods inherited from class Item:

fromJSONObject 

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