org.androidtransfuse.gen
Class FilerSourceCodeWriter

Package class diagram package FilerSourceCodeWriter
java.lang.Object
  extended by com.sun.codemodel.CodeWriter
      extended by org.androidtransfuse.gen.FilerSourceCodeWriter

public class FilerSourceCodeWriter
extends com.sun.codemodel.CodeWriter

Adapter class to allow codemodel to write its output source and source files to the Java Annotation Processor Filer

Author:
John Ericksen

Constructor Summary
FilerSourceCodeWriter(Filer filer)
           
 
Method Summary
 void close()
           
 OutputStream openBinary(com.sun.codemodel.JPackage jPackage, String fileName)
           
 
Methods inherited from class com.sun.codemodel.CodeWriter
openSource
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FilerSourceCodeWriter

@Inject
public FilerSourceCodeWriter(Filer filer)
Method Detail

openBinary

public OutputStream openBinary(com.sun.codemodel.JPackage jPackage,
                               String fileName)
                        throws IOException
Specified by:
openBinary in class com.sun.codemodel.CodeWriter
Throws:
IOException

close

public void close()
           throws IOException
Specified by:
close in class com.sun.codemodel.CodeWriter
Throws:
IOException


Copyright © 2012. All Rights Reserved.