edu.mit.ai.psg.jevaES
Interface IPackage

All Known Implementing Classes:
Package

public interface IPackage

IPackage is an interface for internal representations of known packages to store and retrieve the classes defined within them.

See Also:
Package

Method Summary
 Class getClass(String simpleClassName, boolean cacheFailures)
          Look up class, returning null if not found.
 String getFullName()
           
 IPackage getIPackage(String simplePackageName, boolean suppressPackageNameChecks)
          Lookup up package.
 String getSimpleName()
           
 

Method Detail

getFullName

public String getFullName()

getSimpleName

public String getSimpleName()

getClass

public Class getClass(String simpleClassName,
                      boolean cacheFailures)
Look up class, returning null if not found. If cacheFailures is true, remember failure, so future calls on same name return null immediately without searching file system (important if files are remote)

getIPackage

public IPackage getIPackage(String simplePackageName,
                            boolean suppressPackageNameChecks)
                     throws IllegalArgumentException
Lookup up package. If not found, creates a new package and adds it. If supressPackageNameCheck is false, first check validity of name of package against corresponding directory names in classpath. (False prevents security exceptions if classpath or directories are inaccessible).
Throws:
IllegalArgumentException - if name not found in classpath

Copyright (c) 1996-1999
Massachusetts Institute of Technology

Feedback: jeva-feedback@ai.mit.edu