Package nl.basjes.modbus.schema.utils
Object CodeGeneration
-
- All Implemented Interfaces:
public class CodeGeneration
-
-
Field Summary
Fields Modifier and Type Field Description public final static CodeGenerationINSTANCE
-
Method Summary
Modifier and Type Method Description final static StringconvertToCodeCompliantName(String name, Boolean firstUppercase)In many cases the name or identifier of a thing needs to be available in a form that it can be used as a type name or variable name. -
-
Method Detail
-
convertToCodeCompliantName
final static String convertToCodeCompliantName(String name, Boolean firstUppercase)
In many cases the name or identifier of a thing needs to be available in a form that it can be used as a type name or variable name.
- Parameters:
name- The name that must be cleanedfirstUppercase- if the first character must be an uppercase or lowercase- Returns:
A cleaned version of the provided input.
-
-
-
-