some API documentation

This commit is contained in:
Mark Harrah 2009-10-15 18:09:15 -04:00
parent 4fda9f0690
commit 51d8d242d7
1 changed files with 6 additions and 0 deletions

View File

@ -2,14 +2,20 @@ package xsbti;
import java.io.File;
/** Provides access to the jars and classes for a particular version of Scala.*/
public interface ScalaProvider
{
public Launcher launcher();
/** The version of Scala this instance provides.*/
public String version();
/** A ClassLoader that loads the classes from scala-library.jar and scala-compiler.jar.*/
public ClassLoader loader();
/** Returns the scala-library.jar and scala-compiler.jar for this version of Scala. */
public File[] jars();
public File libraryJar();
public File compilerJar();
/** Creates an application provider that will use 'loader()' as the parent ClassLoader for
* the application given by 'id'.*/
public AppProvider app(ApplicationID id);
}