org.tempuri.javac
Interface JavaSourceReaderFactory

All Known Subinterfaces:
FileSystemClassFactory, MemoryClassFactory
All Known Implementing Classes:
FileSystemClassFactoryImpl, MemoryClassFactoryImpl

public interface JavaSourceReaderFactory

Virtual constructor for JavaClassReaders


Method Summary
 JavaSourceReader getSourceReader(java.lang.String className)
          Get a source reader for a Java class.
 

Method Detail

getSourceReader

public JavaSourceReader getSourceReader(java.lang.String className)
                                 throws java.io.IOException
Get a source reader for a Java class. Called by the compiler for each class it is instructed to compile

Returns:
a JavaSourceReader for the specified class or null if the source code cannot be found
Throws:
java.io.IOException - if the source code exists but an error obtaining it occured