edu.mit.ai.psg.jeva
Interface IPackage
- All Known Implementing Classes:
- Package
- public abstract interface IPackage
IPackage is an interface for internal representations of known packages to
store and retrieve the classes defined within them.
- Author:
- CarlManning, caroma@ai.mit.edu
Copyright (c) 1997, 1998, 1999 Massachusetts Institute of Technology
- See Also:
Package
getFullName
public String getFullName()
getSimpleName
public String getSimpleName()
put
public IClass put(String simpleClassName,
IClass aClass,
boolean overwriteOldClass)
getIClass
public IClass getIClass(String simpleClassName)
getIPackage
public IPackage getIPackage(String simplePackageName,
boolean suppressPackageNameCheck)
throws IllegalArgumentException
- creates new IPackage if name is unknown and
package name check is suppressed. If not suppressed, package name check
checks for a corresponding directory name in classpath.
- Throws:
- IllegalArgumentException - if name not found in classpath