org.tempuri.javac
Interface JavaClassWriter

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

public interface JavaClassWriter

Interface to an object that knows how to handle a generated Java class


Method Summary
 java.lang.String getClassName()
          Returns the name of the class to be written
 void writeClass(java.io.InputStream inputStream)
          Handle a generated class.
 

Method Detail

getClassName

public java.lang.String getClassName()
Returns the name of the class to be written

Returns:
name of class

writeClass

public void writeClass(java.io.InputStream inputStream)
                throws java.io.IOException
Handle a generated class. The compiler calls this for each class it compiles

Parameters:
inputStream - stream containing contents of compiled class
Throws:
java.io.IOException - if an error occurs