Package io.protostuff.compiler
Class ProtoToJavaBeanMeCompiler
- java.lang.Object
-
- io.protostuff.compiler.STCodeGenerator
-
- io.protostuff.compiler.ProtoToJavaBeanMeCompiler
-
- All Implemented Interfaces:
ProtoCompiler
public class ProtoToJavaBeanMeCompiler extends STCodeGenerator
Compiles proto files to protobuf java messages (pojos).
-
-
Field Summary
-
Fields inherited from class io.protostuff.compiler.STCodeGenerator
DEFAULT_FORMATTERS, DEFAULT_RENDERERS, ERROR_LISTENER, errorCount, FORMAT_DELIM, GROUP_LOADER, id, STRING_ATTRIBUTE_RENDERER, TEMPLATE_BASE
-
-
Constructor Summary
Constructors Constructor Description ProtoToJavaBeanMeCompiler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
compile(ProtoModule module, Proto proto)
-
Methods inherited from class io.protostuff.compiler.STCodeGenerator
chainedFormat, collect, compile, compile, format, getOutputId, getST, getSTG, override, parseProto, postCompile, setAttributeRenderer, setFormatter, setGroupLoader
-
-
-
-
Method Detail
-
compile
public void compile(ProtoModule module, Proto proto) throws java.io.IOException
- Specified by:
compile
in classSTCodeGenerator
- Throws:
java.io.IOException
-
-