类 Chapter
- java.lang.Object
-
- com.ts.lib.ffmpegkit.Chapter
-
public class Chapter extends Object
-
-
字段概要
字段 修饰符和类型 字段 说明 static StringKEY_ENDstatic StringKEY_END_TIMEstatic StringKEY_IDstatic StringKEY_STARTstatic StringKEY_START_TIMEstatic StringKEY_TAGSstatic StringKEY_TIME_BASE
-
构造器概要
构造器 构造器 说明 Chapter(org.json.JSONObject jsonObject)
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 org.json.JSONObjectgetAllProperties()Returns all chapter properties defined.LonggetEnd()StringgetEndTime()LonggetId()LonggetNumberProperty(String key)Returns the chapter property associated with the key.org.json.JSONObjectgetProperties(String key)Returns the chapter properties associated with the key.LonggetStart()StringgetStartTime()StringgetStringProperty(String key)Returns the chapter property associated with the key.org.json.JSONObjectgetTags()StringgetTimeBase()
-
-
-
方法详细资料
-
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
-
-