org.tempuri.javacImpl.util
Class MemoryClassFactoryImpl.SourceReaderImpl

java.lang.Object
  extended by org.tempuri.javacImpl.util.MemoryClassFactoryImpl.SourceReaderImpl
All Implemented Interfaces:
JavaSourceReader
Enclosing class:
MemoryClassFactoryImpl

public class MemoryClassFactoryImpl.SourceReaderImpl
extends java.lang.Object
implements JavaSourceReader


Constructor Summary
MemoryClassFactoryImpl.SourceReaderImpl(java.lang.String className, java.lang.String source)
           
 
Method Summary
 java.lang.String getClassName()
          Get the name of the Java class this object knows how to read
 java.io.Reader getReader()
          Get a Reader for the source code of the class
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MemoryClassFactoryImpl.SourceReaderImpl

public MemoryClassFactoryImpl.SourceReaderImpl(java.lang.String className,
                                               java.lang.String source)
Method Detail

getClassName

public java.lang.String getClassName()
Description copied from interface: JavaSourceReader
Get the name of the Java class this object knows how to read

Specified by:
getClassName in interface JavaSourceReader
Returns:
the name of the class to be read

getReader

public java.io.Reader getReader()
                         throws java.io.IOException
Description copied from interface: JavaSourceReader
Get a Reader for the source code of the class

Specified by:
getReader in interface JavaSourceReader
Returns:
a Reader containing the source code for this class
Throws:
java.io.IOException