public class GeneratorUtilities extends Object
| Constructor and Description |
|---|
GeneratorUtilities() |
| Modifier and Type | Method and Description |
|---|---|
static <T> T[] |
concatenate(T[] a,
T[] b) |
static void |
createEmptyFolder(String generationFolder) |
static void |
deleteFilesInFolder(String folder,
String excludeFile)
delete files in the folder apart from the exclude file name.
|
static String |
getReferencePackage(String myType,
String otherType) |
static String |
getRegexEndAttrToken() |
static String |
getRegexStartAttrToken() |
static String |
getRegexToken(String token) |
static boolean |
isTopLevelGlossaryObject(String entityName) |
static String |
lowercase1stLetter(String end2Name) |
static boolean |
recursivelyDelete(File path) |
static String |
uppercase1stLetter(String end1Name) |
static File |
writeFolder(String outputFolder) |
public static <T> T[] concatenate(T[] a,
T[] b)
public static String getRegexStartAttrToken()
public static String getRegexEndAttrToken()
public static boolean recursivelyDelete(File path) throws FileNotFoundException
FileNotFoundExceptionpublic static void createEmptyFolder(String generationFolder) throws FileNotFoundException
FileNotFoundExceptionpublic static boolean isTopLevelGlossaryObject(String entityName)
Copyright © 2018 ODPi. All rights reserved.