build
Class CompilingLoadlet

java.lang.Object
  extended bybuild.Loadlet
      extended bybuild.CompilingLoadlet

public class CompilingLoadlet
extends Loadlet


Field Summary
protected  java.lang.String classBase
           
protected  java.lang.String srcBase
           
 
Fields inherited from class build.Loadlet
parent
 
Method Summary
 java.io.File binFile(java.lang.String name)
           
 boolean compileClass(java.lang.String name)
           
static boolean jar(java.lang.String[] args)
           
static boolean javac(java.lang.String[] args)
           
 byte[] loadClassData(java.lang.String name)
          Rules for deciding how to come up with the byte[] of a class named name.
static boolean rmic(java.lang.String[] args)
           
 boolean rmicClass(java.lang.String name)
           
 java.io.File srcFile(java.lang.String name)
           
static byte[] toBytes(java.io.File f)
           
static byte[] toBytes(java.io.InputStream s, byte[] b)
           
static java.io.File toFile(java.lang.String prefix, java.lang.String name, java.lang.String suffix)
           
 java.lang.String toString()
           
 
Methods inherited from class build.Loadlet
findClass, getParent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

classBase

protected java.lang.String classBase

srcBase

protected java.lang.String srcBase
Method Detail

loadClassData

public byte[] loadClassData(java.lang.String name)
Rules for deciding how to come up with the byte[] of a class named name.

Specified by:
loadClassData in class Loadlet

toString

public java.lang.String toString()

srcFile

public java.io.File srcFile(java.lang.String name)

binFile

public java.io.File binFile(java.lang.String name)

compileClass

public boolean compileClass(java.lang.String name)

rmicClass

public boolean rmicClass(java.lang.String name)

javac

public static boolean javac(java.lang.String[] args)

jar

public static boolean jar(java.lang.String[] args)

rmic

public static boolean rmic(java.lang.String[] args)

toFile

public static java.io.File toFile(java.lang.String prefix,
                                  java.lang.String name,
                                  java.lang.String suffix)

toBytes

public static byte[] toBytes(java.io.File f)

toBytes

public static byte[] toBytes(java.io.InputStream s,
                             byte[] b)