org.tempuri.javacImpl.util
Class FileSystemClassFactoryImpl.ClassReaderImpl

java.lang.Object
  |
  +--org.tempuri.javacImpl.util.FileSystemClassFactoryImpl.ClassReaderImpl
All Implemented Interfaces:
JavaClassReader
Enclosing class:
FileSystemClassFactoryImpl

public static class FileSystemClassFactoryImpl.ClassReaderImpl
extends java.lang.Object
implements JavaClassReader


Constructor Summary
FileSystemClassFactoryImpl.ClassReaderImpl(java.lang.String className, java.io.File file)
           
FileSystemClassFactoryImpl.ClassReaderImpl(java.lang.String className, java.util.jar.JarFile jarFile, java.util.jar.JarEntry jarEntry)
           
 
Method Summary
 java.lang.String getClassName()
          Returns the name of the class to be read
 java.io.InputStream getInputStream()
          Returns an InputStream containing the class's content
 java.lang.String getURI()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

FileSystemClassFactoryImpl.ClassReaderImpl

public FileSystemClassFactoryImpl.ClassReaderImpl(java.lang.String className,
                                                  java.io.File file)
                                           throws java.io.IOException

FileSystemClassFactoryImpl.ClassReaderImpl

public FileSystemClassFactoryImpl.ClassReaderImpl(java.lang.String className,
                                                  java.util.jar.JarFile jarFile,
                                                  java.util.jar.JarEntry jarEntry)
                                           throws java.io.IOException
Method Detail

getClassName

public java.lang.String getClassName()
Description copied from interface: JavaClassReader
Returns the name of the class to be read

Specified by:
getClassName in interface JavaClassReader
Returns:
a String value

getInputStream

public java.io.InputStream getInputStream()
                                   throws java.io.IOException
Description copied from interface: JavaClassReader
Returns an InputStream containing the class's content

Specified by:
getInputStream in interface JavaClassReader
Returns:
an InputStream value
Throws:
java.io.IOException - if an error occurs

getURI

public java.lang.String getURI()

toString

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