Sun SPOT API
Green Release  


com.sun.squawk
Class SuiteCreator.Loader

java.lang.Object
  extended by com.sun.squawk.SuiteCreator.Loader
Enclosing class:
SuiteCreator

public static class SuiteCreator.Loader
extends Object

This class is used to load a number of classes and resources into it's isolate's leaf suite.


Constructor Summary
SuiteCreator.Loader()
           
 
Method Summary
static void installResourceFile(Suite suite, ResourceFile resourceFile)
           
protected static int loadClasses(String[] args, int startIndex, boolean verbose)
           
static int loadResources(Suite suite, String[] args, int startIndex, com.sun.squawk.io.connections.ClasspathConnection classPathConnection)
           
static void main(String[] args)
          Expecting command line that looks something like className1 className2 ...
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SuiteCreator.Loader

public SuiteCreator.Loader()
Method Detail

main

public static void main(String[] args)
                 throws Throwable
Expecting command line that looks something like className1 className2 ... [-resources resource1 resource2 ...] [-classes className1 className2 ...]

Parameters:
args -
Throws:
Exception
Throwable

installResourceFile

public static void installResourceFile(Suite suite,
                                       ResourceFile resourceFile)
                                throws IOException
Throws:
IOException

loadClasses

protected static int loadClasses(String[] args,
                                 int startIndex,
                                 boolean verbose)

loadResources

public static int loadResources(Suite suite,
                                String[] args,
                                int startIndex,
                                com.sun.squawk.io.connections.ClasspathConnection classPathConnection)

Sun SPOT API
Green Release  


Copyright © 2006 Sun Microsystems, Inc. All Rights Reserved.