public class BinGenerator extends Object
| Modifier and Type | Field and Description |
|---|---|
static org.stringtemplate.v4.STGroup |
BINARY_READER |
static org.stringtemplate.v4.STGroup |
BINARY_WRITER |
static org.stringtemplate.v4.STGroup |
FILE_CHANNEL_READER |
static org.stringtemplate.v4.STGroup |
FILE_CHANNEL_WRITER |
static org.stringtemplate.v4.STGroup |
MAP_ADDR |
| Constructor and Description |
|---|
BinGenerator(BinaryFormat format,
File targetDirectory) |
public static org.stringtemplate.v4.STGroup FILE_CHANNEL_READER
public static org.stringtemplate.v4.STGroup FILE_CHANNEL_WRITER
public static org.stringtemplate.v4.STGroup BINARY_READER
public static org.stringtemplate.v4.STGroup BINARY_WRITER
public static org.stringtemplate.v4.STGroup MAP_ADDR
public BinGenerator(BinaryFormat format, File targetDirectory)
public static void compile(BinaryFormat format, File targetDirectory) throws IOException
IOExceptionpublic void compile()
throws IOException
IOExceptionpublic static void toDir(File dir, String packageName, String filename, String content) throws IOException
IOExceptionCopyright © 2012. All Rights Reserved.