public final class STCodeGenerator extends CodeGenerator
| Modifier and Type | Field and Description |
|---|---|
static String |
ST_GROUP_FILEEXTENSION |
| Constructor and Description |
|---|
STCodeGenerator(File file) |
STCodeGenerator(org.stringtemplate.v4.STGroup stGroup) |
STCodeGenerator(String target) |
| Modifier and Type | Method and Description |
|---|---|
String |
fileName(String protocolName) |
static List<String> |
listTargets() |
ItemCodeGenerator |
newItemCodeGenerator(String name) |
void |
setInspect(boolean inspect) |
static void |
setStDir(String newStDir) |
static void |
trackCreationEvents(boolean value) |
generate, generate, isAbstract, manyProtocolsInOneFile, newItemCodeGenerator, renderpublic static final String ST_GROUP_FILEEXTENSION
public STCodeGenerator(String target) throws IOException
IOExceptionpublic STCodeGenerator(File file) throws IOException
IOExceptionpublic STCodeGenerator(org.stringtemplate.v4.STGroup stGroup)
public static void setStDir(String newStDir)
public static void trackCreationEvents(boolean value)
public static List<String> listTargets() throws IOException
IOExceptionpublic ItemCodeGenerator newItemCodeGenerator(String name)
newItemCodeGenerator in class CodeGeneratorpublic void setInspect(boolean inspect)
setInspect in class CodeGeneratorpublic String fileName(String protocolName)
fileName in class CodeGeneratorCopyright © 2019. All rights reserved.