org.tempuri.javac
Interface JavaSourceReader

All Known Implementing Classes:
FileSystemClassFactoryImpl.SourceReaderImpl, MemoryClassFactoryImpl.SourceReaderImpl

public interface JavaSourceReader

Interface to a object that knows how to locate Java source code


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
 

Method Detail

getClassName

public java.lang.String getClassName()
Get the name of the Java class this object knows how to read

Returns:
the name of the class to be read

getReader

public java.io.Reader getReader()
                         throws java.io.IOException
Get a Reader for the source code of the class

Returns:
a Reader containing the source code for this class
java.io.IOException