js.tinyvm
Class ClassPath

java.lang.Object
  extended by js.tinyvm.ClassPath
All Implemented Interfaces:
IClassPath

public class ClassPath
extends java.lang.Object
implements IClassPath

Class path.


Constructor Summary
ClassPath(java.lang.String classPath)
          Constructor.
 
Method Summary
 java.io.InputStream getInputStream(java.lang.String className)
          Get input stream with the given class byte code.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ClassPath

public ClassPath(java.lang.String classPath)
Constructor.

Parameters:
classPath - string class path separated with File.pathSeparatorChar
Method Detail

getInputStream

public java.io.InputStream getInputStream(java.lang.String className)
                                   throws java.io.IOException
Description copied from interface: IClassPath
Get input stream with the given class byte code.

Specified by:
getInputStream in interface IClassPath
Parameters:
className - name of class with '/' as separator
Throws:
java.io.IOException - if class could not be found in class path

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object