Class CompilerUtil
java.lang.Object
io.protostuff.compiler.CompilerUtil
Utilities and helpers for compiling protos.
- Author:
- David Yu
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetFilesByExtension(File dir, String[] extensions) Returns a list of file filtered by their file types/extensions; (E.g ".proto")getProtoFiles(File dir) static WriternewWriter(ProtoModule module, String packageName, String fileName)
-
Constructor Details
-
CompilerUtil
public CompilerUtil()
-
-
Method Details
-
newWriter
public static Writer newWriter(ProtoModule module, String packageName, String fileName) throws IOException - Throws:
IOException
-
getProtoFiles
-
getFilesByExtension
-