| AkFileCache Class |
Namespace: Appkit.IO
public class AkFileCache
The AkFileCache type exposes the following members.
| Name | Description | |
|---|---|---|
| Copy |
将现有文件复制到新文件,并加载文件缓存。
| |
| Delete |
删除文件并移除文件缓存
| |
| Delete(String) |
删除指定的文件、并移除文件缓存。
| |
| Exists(String) |
确定指定的文件缓存是否存在。
如果指定的文件缓存不存在,则尝试自动加载,加载成功返回 true。 | |
| Exists(String, Boolean) |
确定指定的文件缓存是否存在。
| |
| Find(String) |
查找指定的文件缓存。
如果指定的文件缓存不存在,则尝试自动加载。 | |
| Find(String, Boolean) |
查找指定的文件缓存。
| |
| Load |
加载指定的文件缓存。
| |
| Refresh |
刷新。
| |
| Refresh(String) |
刷新指定的文件缓存。
| |
| Remove |
移除。
| |
| Remove(String) |
移除指定的文件缓存
| |
| Write |
将内容写入指定名称的文件,并加载文件缓存。
默认使用 UTF8 编码。 |
| Name | Description | |
|---|---|---|
| CacheType |
文件缓存的类型。
| |
| Content |
内容字符串。
| |
| CreateTime |
创建时间。
| |
| Document |
XML 文档。
| |
| Info |
文件信息。
| |
| Name |
名称。
| |
| Path |
全路径文件名称。
|