Package com.jackdaw.chatwithnpc.group
Class GroupDataManager
java.lang.Object
com.jackdaw.chatwithnpc.group.GroupDataManager
A serializer used to read or write the data from the files.
This data is related to the Group's content.
Read or Write the data file with some information, each file just record one relative information.
-
Method Summary
-
Method Details
-
isExist
public boolean isExist()Check if the file is existed.- Returns:
- true if the file is existed, otherwise false.
-
sync
public void sync()Read the data from the file and set the group's content. -
save
public void save()Write the group's content to the file.
-