类 CacheUtil
- java.lang.Object
-
- com.aispeech.common.CacheUtil
-
public class CacheUtil extends java.lang.Object
-
-
嵌套类概要
嵌套类 修饰符和类型 类 说明 static classCacheUtil.CacheType
-
构造器概要
构造器 构造器 说明 CacheUtil(CacheUtil.CacheType type)
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 voidclear()voidfeed(byte[] bytes)byte[]getCacheData()intgetLength()byte[]getOneshotCacheByte()byte[]getVadCacheByte()byte[]getVadCacheByte(int size)voidsetOneshotCacheTime(int time)voidsetVadCacheTime(int time)byte[]toArray()
-
-
-
构造器详细资料
-
CacheUtil
public CacheUtil(CacheUtil.CacheType type)
-
-
方法详细资料
-
getCacheData
public byte[] getCacheData()
-
toArray
public byte[] toArray()
-
getLength
public int getLength()
-
setOneshotCacheTime
public void setOneshotCacheTime(int time)
-
setVadCacheTime
public void setVadCacheTime(int time)
-
feed
public void feed(byte[] bytes)
-
getOneshotCacheByte
public byte[] getOneshotCacheByte()
-
clear
public void clear()
-
getVadCacheByte
public byte[] getVadCacheByte()
-
getVadCacheByte
public byte[] getVadCacheByte(int size)
-
-