- java.lang.Object
-
- javax0.jamal.extensions.Camel.CStyle
-
- All Implemented Interfaces:
Macro
- Enclosing class:
- Camel
public static class Camel.CStyle extends java.lang.Object implements Macro
Converts the input into Cstyle variable name. Converts a camel cased word into a C style all upper case variable name. For example_thisIsACamelCaseWord -> THIS_IS_A_CAMEL_CASE_WORD
The separator is the first non-space character after the name of the macro. In the example it is underscore but it can be:thisIsACamelCaseWord -> THIS:IS:A:CAMEL:CASE:WORD
-
-
Constructor Summary
Constructors Constructor Description CStyle()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
evaluate(Input in, Processor processor)
-