public final class GeneratorUtils extends Object
| Modifier and Type | Method and Description |
|---|---|
static List<String> |
newConstantsFromStringList(List<String> data,
String prefix,
String suffix,
boolean withQuotation)
Creates a String list with the String constants from the given String list.
|
static String |
newcreateStaticArrayVariable(String arrayName,
List<String> data)
Creates a String for a constant Stringarray to be inserted in java-file.
|
public static List<String> newConstantsFromStringList(List<String> data, String prefix, String suffix, boolean withQuotation)
data - The data from what to create the contant strings.prefix - If the constant name needs a prefix.suffix - If the constant name needs a suffix.withQuotation - If the strings in the list have already quotation marks then true.public static String newcreateStaticArrayVariable(String arrayName, List<String> data)
arrayName - The name from the array.data - The data what to insert in the generated array.Copyright © 2007–2015 Alpha Ro Group UG (haftungsbeschrÀngt). All rights reserved.