public class SignsDir extends VirtualContainer
| 限定符和类型 | 字段和说明 |
|---|---|
static String |
SignaturesFileName
签名列表文件名称
|
| 限定符和类型 | 方法和说明 |
|---|---|
SignDir |
getByIndex(Integer index)
获取指定签名容器
|
Signatures |
getSignatures()
获取 签名列表文件
|
SignDir |
getSignDir(String containerName) |
SignDir |
newSignDir()
创建一个签名/章虚拟容器
|
SignsDir |
setSignatures(Signatures signatures)
设置 签名列表文件
|
addRaw, clean, close, exit, flush, flushContainerByName, flushFileByName, getAbsLoc, getContainer, getContainerName, getContainerPath, getFile, getObj, getParent, getSysAbsPath, obtainContainer, putFile, putObj, setParentpublic SignsDir(Path fullDir) throws IllegalArgumentException
public Signatures getSignatures() throws FileNotFoundException, org.dom4j.DocumentException
FileNotFoundException - 容器中不存在该文件org.dom4j.DocumentException - XML文件解析异常,可能是格式不正确public SignsDir setSignatures(Signatures signatures)
signatures - 签名列表文件public SignDir newSignDir()
public SignDir getByIndex(Integer index) throws FileNotFoundException
index - 第几个签名FileNotFoundException - 指定的签名容器不存在public SignDir getSignDir(String containerName) throws FileNotFoundException
Copyright © 2021. All rights reserved.