Package freemarker.core
Class CFormat
java.lang.Object
freemarker.core.CFormat
- Direct Known Subclasses:
AbstractJSONLikeFormat
,JavaCFormat
,LegacyCFormat
,XSCFormat
Defines a format (usually a computer language) that's used by the
c
, cn
built-ins, and for the
"c"
and "computer"
number_format
, and
the "c"
boolean_format
.
A CFormat
currently defines how numbers, booleans, and strings are converted to text that defines a similar
value in a certain computer language (or other computer-parsed syntax). The CFormat
that you want to use can
be set via Configurable.setCFormat(CFormat)
.
Experimental class! This class is too new, and might will change over time. Therefore, for now constructor and most methods are not exposed outside FreeMarker, and so you can't create a custom implementation. The class itself and some members are exposed as they are needed for configuring FreeMarker.
- Since:
- 2.3.32
-
Method Summary
-
Method Details
-
getName
-