Package io.objectbox.generator
Class GeneratorOutput
- java.lang.Object
-
- io.objectbox.generator.GeneratorOutput
-
public class GeneratorOutput extends java.lang.ObjectAbstraction for output used byBoxGenerator. Can refer to a directory or a annotation processor Filer.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static GeneratorOutputcreate(java.io.File outDirFile)static GeneratorOutputcreate(java.lang.String outDir)static GeneratorOutputcreate(javax.annotation.processing.Filer filer)protected java.io.WritercreateWriter(java.lang.String javaPackage, java.lang.String fileOrJavaClassName, java.lang.String fileExtension)protected java.io.FilegetFileOrNull(java.lang.String javaPackage, java.lang.String fileName, java.lang.String fileExtension)
-
-
-
Method Detail
-
create
public static GeneratorOutput create(java.lang.String outDir) throws java.io.IOException
- Throws:
java.io.IOException
-
create
public static GeneratorOutput create(java.io.File outDirFile)
-
create
public static GeneratorOutput create(javax.annotation.processing.Filer filer)
-
createWriter
protected java.io.Writer createWriter(java.lang.String javaPackage, java.lang.String fileOrJavaClassName, java.lang.String fileExtension) throws java.io.IOException- Throws:
java.io.IOException
-
getFileOrNull
protected java.io.File getFileOrNull(java.lang.String javaPackage, java.lang.String fileName, java.lang.String fileExtension)
-
-