类 CacheUtil
- java.lang.Object
-
- com.aispeech.common.CacheUtil
-
public class CacheUtil extends java.lang.Object
-
-
嵌套类概要
嵌套类 修饰符和类型 类 说明 static class
CacheUtil.CacheType
-
构造器概要
构造器 构造器 说明 CacheUtil(CacheUtil.CacheType type)
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 void
clear()
void
feed(byte[] bytes)
byte[]
getCacheData()
int
getLength()
byte[]
getOneshotCacheByte()
byte[]
getVadCacheByte()
byte[]
getVadCacheByte(int size)
void
setOneshotCacheTime(int time)
void
setVadCacheTime(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)
-
-