Fantom

 

class

compilerJava::ClassPath

sys::Obj
  compilerJava::ClassPath

ClassPath models a Java classpath to resolve package names to types. Since the standard Java APIs don't expose this, we have go thru a lot of pain.

Slots

classesSource

const Str:Str[] classes

List of classes keyed by package name in class path

entriesSource

const File[] entries

Class path entries to search

mainSource

static Void main()

makeSource

new make(File[] entries)

Make for current set of jars.

makeForCurrentSource

static ClassPath makeForCurrent()

Attempt to derive the current classpath by looking at system properties.

toStrSource

override Str toStr()

Overrides sys::Obj.toStr

Return list of jar files.