-
public class GSYModel视频内部接受数据model Created by shuyu on 2016/11/11.
-
-
Field Summary
Fields Modifier and Type Field Description StringurlMap<String, String>mapHeadDatafloatspeedbooleanloopingbooleanisCacheStringoverrideExtensionBufferedInputStreamvideoBufferedInputStream
-
Constructor Summary
Constructors Constructor Description GSYModel(String url, Map<String, String> mapHeadData, boolean loop, float speed, boolean isCache, File cachePath, String overrideExtension)GSYModel(BufferedInputStream videoBufferedInputStream, Map<String, String> mapHeadData, boolean loop, float speed, boolean isCache, File cachePath, String overrideExtension)
-
Method Summary
Modifier and Type Method Description StringgetUrl()voidsetUrl(String url)Map<String, String>getMapHeadData()voidsetMapHeadData(Map<String, String> mapHeadData)floatgetSpeed()voidsetSpeed(float speed)voidsetLooping(boolean looping)booleanisCache()StringgetOverrideExtension()voidsetOverrideExtension(String overrideExtension)BufferedInputStreamgetVideoBufferedInputStream()voidsetVideoBufferedInputStream(BufferedInputStream videoBufferedInputStream)booleanisLooping()voidsetCache(boolean cache)FilegetCachePath()voidsetCachePath(File cachePath)-
-
Method Detail
-
getMapHeadData
Map<String, String> getMapHeadData()
-
setMapHeadData
void setMapHeadData(Map<String, String> mapHeadData)
-
getSpeed
float getSpeed()
-
setSpeed
void setSpeed(float speed)
-
setLooping
void setLooping(boolean looping)
-
isCache
boolean isCache()
-
getOverrideExtension
String getOverrideExtension()
-
setOverrideExtension
void setOverrideExtension(String overrideExtension)
-
getVideoBufferedInputStream
BufferedInputStream getVideoBufferedInputStream()
-
setVideoBufferedInputStream
void setVideoBufferedInputStream(BufferedInputStream videoBufferedInputStream)
-
isLooping
boolean isLooping()
-
setCache
void setCache(boolean cache)
-
getCachePath
File getCachePath()
-
setCachePath
void setCachePath(File cachePath)
-
-
-
-