Class ManIdentifierUtil
java.lang.Object
manifold.rt.api.util.ManIdentifierUtil
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic StringmakeIdentifier(String name) static StringmakePascalCaseIdentifier(String name, boolean firstChar) Returnnamefollowing Pascal naming convention.
-
Constructor Details
-
ManIdentifierUtil
public ManIdentifierUtil()
-
-
Method Details
-
makeIdentifier
-
makePascalCaseIdentifier
Returnnamefollowing Pascal naming convention. Only alpha-numeric characters are retained. - name -> Name
- NAME -> Name
- thisName -> ThisName
- thisname -> Thisname
- this_name -> ThisName
- this-name -> ThisName
- this*name -> ThisName
- _this_name -> _ThisName
- _this__name -> _This_Name- Parameters:
name- Any namefirstChar- Should the first character be capitalized? (false = camel case)- Returns:
namefollowing pascal naming convention
-