public class KiePMMLModelUtils extends Object
| Modifier and Type | Method and Description |
|---|---|
static String |
getGeneratedClassName(String prefix)
Returns an autogenerated classname whose name starts with the given prefix
|
static String |
getSanitizedClassName(String input)
Convert the given
String in a valid class name (i.e. no dots, no spaces, first letter upper case) |
static String |
getSanitizedPackageName(String modelName)
Method to be used by every KiePMML implementation to retrieve the package name
out of the model name
|
public static String getSanitizedPackageName(String modelName)
modelName - public static String getSanitizedClassName(String input)
String in a valid class name (i.e. no dots, no spaces, first letter upper case)input - Copyright © 2001–2021 JBoss by Red Hat. All rights reserved.