-
public class Chapter
-
-
Field Summary
Fields Modifier and Type Field Description public final static StringKEY_IDpublic final static StringKEY_TIME_BASEpublic final static StringKEY_STARTpublic final static StringKEY_START_TIMEpublic final static StringKEY_ENDpublic final static StringKEY_END_TIMEpublic final static StringKEY_TAGS
-
Constructor Summary
Constructors Constructor Description Chapter(JSONObject jsonObject)
-
Method Summary
Modifier and Type Method Description LonggetId()StringgetTimeBase()LonggetStart()StringgetStartTime()LonggetEnd()StringgetEndTime()JSONObjectgetTags()StringgetStringProperty(String key)Returns the chapter property associated with the key. LonggetNumberProperty(String key)Returns the chapter property associated with the key. JSONObjectgetProperty(String key)Returns the chapter property associated with the key. JSONObjectgetAllProperties()Returns all chapter properties defined. -
-
Constructor Detail
-
Chapter
Chapter(JSONObject jsonObject)
-
-
Method Detail
-
getTimeBase
String getTimeBase()
-
getStartTime
String getStartTime()
-
getEndTime
String getEndTime()
-
getTags
JSONObject getTags()
-
getStringProperty
String getStringProperty(String key)
Returns the chapter property associated with the key.
- Parameters:
key- property key
-
getNumberProperty
Long getNumberProperty(String key)
Returns the chapter property associated with the key.
- Parameters:
key- property key
-
getProperty
JSONObject getProperty(String key)
Returns the chapter property associated with the key.
- Parameters:
key- property key
-
getAllProperties
JSONObject getAllProperties()
Returns all chapter properties defined.
-
-
-
-