abstract class ClassPath

Represents a package which contains classes and other packages

Constructors

ClassPath ( )

Members

case class ClassRep

Represents classes which can be loaded with a ClassfileLoader and / or a SourcefileLoader.

Represents classes which can be loaded with a ClassfileLoader and / or a SourcefileLoader.

final object ClassRep

Represents classes which can be loaded with a ClassfileLoader and / or a SourcefileLoader.

Represents classes which can be loaded with a ClassfileLoader and / or a SourcefileLoader.

type AnyClassRep = ClassRep
def asClasspathString : String

The whole classpath in the form of one String.

The whole classpath in the form of one String.

def asURLs : List [ URL ]

A list of URLs representing this classpath.

A list of URLs representing this classpath.

def classes : IndexedSeq [ AnyClassRep ]

Lists of entities.

Lists of entities.

def context : ClassPathContext

Info which should be propagated to any sub-classpaths.

Info which should be propagated to any sub-classpaths.

override def equals ( that: Any ) : Boolean
def findBinaryFile ( name: String ) : Option [ AbstractFile ]
def findClass ( name: String ) : Option [ AnyClassRep ]

Find a ClassRep given a class name of the form "package.subpackage.ClassName". Does not support nested classes on .NET

Find a ClassRep given a class name of the form "package.subpackage.ClassName". Does not support nested classes on .NET

override def hashCode : Int
def name : String

The short name of the package (without prefix)

The short name of the package (without prefix)

def origin : Option [ String ]

A String representing the origin of this classpath element, if known. For example, the path of the directory or jar.

A String representing the origin of this classpath element, if known. For example, the path of the directory or jar.

def packages : IndexedSeq [ ClassPath ]
def sortString : String
def sourcepaths : IndexedSeq [ AbstractFile ]
def validClassFile ( name: String ) : Boolean

Filters for assessing validity of various entities.

Filters for assessing validity of various entities.

def validPackage ( name: String ) : Boolean
def validSourceFile ( name: String ) : Boolean