@Service public class StorageFileHelperImpl<T> extends Object implements Serializable, StorageFileHelper<T>
| 构造器和说明 |
|---|
StorageFileHelperImpl() |
@FuncVerification(version="1.0.0", status=Unverified, date="2020/5/4 13:20") public boolean storage(String filepath, List<T> listData)
storage 在接口中 StorageFileHelper<T>filepath - 传入输出文件路径listData - 传入需存储的数据@FuncVerification(version="1.0.0", status=Unverified, date="2020/5/4 13:22") public boolean storage(String filepath, Object listData)
storage 在接口中 StorageFileHelper<T>filepath - 传入输出文件路径listData - 传入需存储的数据@FuncVerification(version="1.0.0", status=Unverified, date="2020/5/4 13:22") public List<T> readList(String filepath)
List<T>数据,如文件不存在直接返回nullreadList 在接口中 StorageFileHelper<T>filepath - 传入读取文件路径java.util.List<T> 传入读取文件获得的列表@FuncVerification(version="1.0.0", status=Unverified, date="2020/5/4 13:21") public Object[] readObject(String filepath)
readObject 在接口中 StorageFileHelper<T>filepath - 传入读取文件路径This documentation was released into the public domain.