Class Blog

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

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

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

subTitle

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

Blog

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

Parameters:

ParameterDescriptionRequired?
idSee Item.idYes
MethodModifier and Type
fromJSONObject(org.json.JSONObject json, java.lang.String id)static Blog
toJSONObject()org.json.JSONObject

Methods inherited from class Item:

Methods inherited from class java.lang.Object:

  • equals
  • getClass
  • hashCode
  • notify
  • notifyAll
  • toString
  • wait
  • wait
  • wait

toJSONObject

Overrides

toJSONObject in class CategorizedItem

fromJSONObject