|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Interface defining an object that stores and creates packages. This interface primarily is designed to define a cache to decrease the number of objects created. It also exists to support unit testing so a mocked cache can be inserted for testing.
| Method Summary | |
Package |
getPackage(Package parent,
java.lang.String packagename)
Finds/creates a package based on the parent package and the relative name. |
Package |
getPackage(java.lang.String packagename)
Finds/creates a package with the specified name. |
| Method Detail |
public Package getPackage(Package parent,
java.lang.String packagename)
parent - The parent package.packagename - The relative name.
public Package getPackage(java.lang.String packagename)
packagename - The package name.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||