public interface MultiResourceRepository extends ResourceRepository
限定符和类型 | 方法和说明 |
---|---|
void |
attach(ResourceRepository fellow)
添加附加资源仓库
|
void |
detach(java.lang.String fellow)
移除一个附加资源仓库
|
java.util.Set<java.lang.String> |
getFellows()
获取所有附加资源仓库
|
ResourceRepository |
getMaster()
获取主资源仓库
|
appendWrite, appendWrite, copy, getEntry, getResource, getSeparator, isDirectory, list, list, listEntry, read, shutDown, write
getIdentity, getRepoName, getWorkRoot, isAccurateDiskSize, setRepoName
createDirectory, createFile, delete, exist, lastModified, length, openStream, readFully, rename, write
void attach(ResourceRepository fellow)
fellow
- 附加资源仓库void detach(java.lang.String fellow)
fellow
- 资源仓库名称ResourceRepository getMaster()
java.util.Set<java.lang.String> getFellows()