org.androidtransfuse.gen
Class FilerSourceCodeWriter
java.lang.Object
com.sun.codemodel.CodeWriter
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
| 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 |
FilerSourceCodeWriter
@Inject
public FilerSourceCodeWriter(Filer filer)
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.