类 Chapter


  • public class Chapter
    extends Object
    • 构造器详细资料

      • Chapter

        public Chapter​(org.json.JSONObject jsonObject)
    • 方法详细资料

      • getId

        public Long getId()
      • getTimeBase

        public String getTimeBase()
      • getStart

        public Long getStart()
      • getStartTime

        public String getStartTime()
      • getEnd

        public Long getEnd()
      • getEndTime

        public String getEndTime()
      • getTags

        public org.json.JSONObject getTags()
      • getStringProperty

        public String getStringProperty​(String key)
        Returns the chapter property associated with the key.
        参数:
        key - property key
        返回:
        chapter property as string or null if the key is not found
      • getNumberProperty

        public Long getNumberProperty​(String key)
        Returns the chapter property associated with the key.
        参数:
        key - property key
        返回:
        chapter property as Long or null if the key is not found
      • getProperties

        public org.json.JSONObject getProperties​(String key)
        Returns the chapter properties associated with the key.
        参数:
        key - properties key
        返回:
        chapter properties as a JSONObject or null if the key is not found
      • getAllProperties

        public org.json.JSONObject getAllProperties()
        Returns all chapter properties defined.
        返回:
        all chapter properties as a JSONObject or null if no properties are defined