public class ChatMsgSegmentRecordData
extends java.lang.Object
限定符和类型 | 字段和说明 |
---|---|
static java.lang.String |
CHAT_RECORD_DIR |
static java.lang.String |
FILE_TAG |
static java.lang.String |
FILE_TYPE |
static int |
LINE_COUNT |
static int |
LOW_COUNT |
static java.lang.String |
TAG |
构造器和说明 |
---|
ChatMsgSegmentRecordData() |
限定符和类型 | 方法和说明 |
---|---|
void |
finishRead()
关闭读取文件,进行一些清理操作
|
int[] |
getBetweenData() |
java.util.ArrayList<ChatHistoryListResult.ChatData> |
getChatDatas() |
java.io.File |
getChatSegFile(java.lang.String videoId,
java.lang.String timestamp) |
int |
getCurrentIndex() |
boolean |
hasMoreChats() |
java.util.ArrayList<java.lang.String> |
readChatLines() |
void |
setChatDatas(java.util.ArrayList<ChatHistoryListResult.ChatData> chatDatas) |
void |
setCurrentIndex(int currentIndex) |
boolean |
startRead(java.lang.String videoId,
long timestamp)
开始读取日志文件,对一些变量进行初始化
|
public static final java.lang.String TAG
public static final java.lang.String FILE_TAG
public static final java.lang.String FILE_TYPE
public static final java.lang.String CHAT_RECORD_DIR
public static final int LINE_COUNT
public static final int LOW_COUNT
public java.io.File getChatSegFile(java.lang.String videoId, java.lang.String timestamp)
public boolean startRead(java.lang.String videoId, long timestamp)
public java.util.ArrayList<java.lang.String> readChatLines()
public void finishRead()
public boolean hasMoreChats()
public int getCurrentIndex()
public void setCurrentIndex(int currentIndex)
public java.util.ArrayList<ChatHistoryListResult.ChatData> getChatDatas()
public void setChatDatas(java.util.ArrayList<ChatHistoryListResult.ChatData> chatDatas)
public int[] getBetweenData()