final object ClassPath

This module provides star expansion of '-classpath' option arguments, behaves the same as java, see [http://java.sun.com/javase/6/docs/technotes/tools/windows/classpath.html]

Constructors

Members

[+] abstract class ClassPathContext

A class modeling aspects of a ClassPath which should be propagated to any classpaths it creates.

A class modeling aspects of a ClassPath which should be propagated to any classpaths it creates.

[+] final object DefaultJavaContext
[+] class JavaContext
[+] private def endsClass ( s: String ) : Boolean
[+] private def endsJava ( s: String ) : Boolean
[+] private def endsScala ( s: String ) : Boolean
[+] def expandDir ( extdir: String ) : List [ String ]

Expand dir out to contents, a la extdir

Expand dir out to contents, a la extdir

[+] def expandManifestPath ( jarPath: String ) : List [ URL ]

Expand manifest jar classpath entries: these are either urls, or paths relative to the location of the jar.

Expand manifest jar classpath entries: these are either urls, or paths relative to the location of the jar.

[+] def expandPath ( path: String , expandStar: Boolean ) : List [ String ]

Expand path and possibly expanding stars

Expand path and possibly expanding stars

[+] def expandPath$default$2 : Boolean

Expand path and possibly expanding stars

Expand path and possibly expanding stars

[+] private def expandS ( pattern: String ) : List [ String ]

Expand single path entry

Expand single path entry

[+] def filter ( cp: String , p: String => Boolean ) : String

Split the classpath, filter according to predicate, and reassemble.

Split the classpath, filter according to predicate, and reassemble.

[+] def fromPaths ( paths: [ Path ] ) : String

Join the paths as a classpath

Join the paths as a classpath

[+] def fromURLs ( urls: [ URL ] ) : String
[+] def isTraitImplementation ( name: String ) : Boolean
[+] def join ( paths: [ String ] ) : String

Join classpath using platform-dependent path separator

Join classpath using platform-dependent path separator

[+] def makeAbsolute ( cp: String ) : String

Make all classpath components absolute.

Make all classpath components absolute.

[+] def map ( cp: String , f: String => String ) : String

Split the classpath, apply a transformation function, and reassemble it.

Split the classpath, apply a transformation function, and reassemble it.

[+] def specToURL ( spec: String ) : Option [ URL ]
[+] def split ( path: String ) : List [ String ]

Split classpath using platform-dependent path separator

Split classpath using platform-dependent path separator

[+] def toPaths ( cp: String ) : List [ Path ]

Split the classpath and map them into Paths

Split the classpath and map them into Paths

[+] def toSourceName ( f: AbstractFile ) : String

From the source file to its identifier.

From the source file to its identifier.

[+] def toURLs ( cp: String ) : List [ URL ]

Split the classpath and map them into URLs

Split the classpath and map them into URLs