| 构造器和说明 |
|---|
TransientCategory(TransientThingManager thingFactory) |
| 限定符和类型 | 方法和说明 |
|---|---|
Category |
getCategory(String name)
通过名称返回指定的下级目录。
|
List<Category> |
getCategorys()
获取下一级的目录的列表。
|
String |
getFilePath()
返回文件所在的位置。
|
String |
getName()
返回当前目录的名称。
|
Category |
getParent()
返回上级目录。
|
String |
getSimpleName()
返回目录的简写。
|
Thing |
getThing(String name)
通过事物的名称获得当前目录下的事物。
|
List<ThingIndex> |
getThingIndexs()
返回当前目录下的所有事物的索引列表,不包含子目录。
|
List<ThingIndex> |
getThingIndexs(String descriptorPath)
根据描述返回事物索引列表。
|
ThingManager |
getThingManager()
返回此目录所属的事物管理者。
|
List<Thing> |
getThings()
获得当前目录下的事物列表。
|
List<Thing> |
getThings(String descriptorPath)
返回指定事物的列表。
|
Iterator<Thing> |
iterator(boolean includeChildCategory)
遍历当前目录下的所有事物。
|
Iterator<Thing> |
iterator(String descriptorPath,
boolean includeChildCategory)
通过指定的描述者名称遍历当前目录下的所有事物。
|
void |
refresh()
刷新。
|
void |
refresh(boolean includeChild)
刷新。
|
public TransientCategory(TransientThingManager thingFactory)
public Category getCategory(String name)
CategorygetCategory 在接口中 Categoryname - 下级目录的名称public List<Category> getCategorys()
CategorygetCategorys 在接口中 Categorypublic ThingManager getThingManager()
CategorygetThingManager 在接口中 Categorypublic String getSimpleName()
CategorygetSimpleName 在接口中 Categorypublic List<ThingIndex> getThingIndexs(String descriptorPath)
CategorygetThingIndexs 在接口中 CategorydescriptorPath - 描述者public List<Thing> getThings(String descriptorPath)
Categorypublic Iterator<Thing> iterator(boolean includeChildCategory)
Categorypublic Iterator<Thing> iterator(String descriptorPath, boolean includeChildCategory)
Categorypublic List<ThingIndex> getThingIndexs()
CategorygetThingIndexs 在接口中 Categorypublic void refresh(boolean includeChild)
Categorypublic String getFilePath()
CategorygetFilePath 在接口中 CategoryCopyright © 2016 xworker.org. All rights reserved.