public class CSharpUtil extends Object
| Constructor and Description |
|---|
CSharpUtil() |
| Modifier and Type | Method and Description |
|---|---|
static String |
cSharpTypeName(PrimitiveType primitiveType)
Map the name of a
PrimitiveType to a C# primitive type name. |
static String |
formatClassName(String str)
Format a String as a class name.
|
static String |
formatPropertyName(String str)
Format a String as a property name.
|
static String |
toLowerFirstChar(String str)
Lowercase the first character of a given String.
|
static String |
toUpperFirstChar(String str)
Uppercase the first character of a given String.
|
public static String cSharpTypeName(PrimitiveType primitiveType)
PrimitiveType to a C# primitive type name.primitiveType - to map.public static String toUpperFirstChar(String str)
str - to have the first character upper cased.public static String toLowerFirstChar(String str)
str - to have the first character upper cased.public static String formatPropertyName(String str)
str - to be formatted.Copyright © 2013 Real Logic Ltd. All Rights Reserved.