| 限定符和类型 | 类和说明 |
|---|---|
static class |
Comments.C |
static class |
Comments.Pr |
static class |
Comments.R |
| 限定符和类型 | 字段和说明 |
|---|---|
String |
author |
List<Comments.C> |
commentList
Comments Cache
|
int |
id |
| 限定符和类型 | 方法和说明 |
|---|---|
Comments.C |
addComment(String ref,
Comment comment) |
Comments.C |
addComment(String ref,
String title,
String value) |
void |
close() |
void |
flush() |
protected void |
parse(String val,
boolean bold,
List<Comments.R> list) |
protected void |
vml(Path root) |
void |
writeTo(Path root)
写入指定路径,传入的参数可以是一个文件也可以是文件夹,需要在实现类具体处理
|
public List<Comments.C> commentList
public int id
public String author
public Comments()
public Comments(int id,
String author)
public Comments.C addComment(String ref, String title, String value)
public Comments.C addComment(String ref, Comment comment)
protected void parse(String val, boolean bold, List<Comments.R> list)
public void flush()
public void close()
close 在接口中 Closeableclose 在接口中 AutoCloseablepublic void writeTo(Path root) throws IOException
StorablewriteTo 在接口中 Storableroot - 父级文件夹或文件绝对路径IOException - 写失败异常protected void vml(Path root) throws IOException
IOExceptionCopyright © 2024. All rights reserved.