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 

1@Nullable
2public 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 

1@Nullable
2public 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(@NonNull
2            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:

Methods inherited from class java.lang.Object:

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

fromJSONObject 

1@Nullable
2public static Blog fromJSONObject(@NonNull
3                                            org.json.JSONObject json,
4                                            @NonNull
5                                            java.lang.String id)