CFormat (FreeMarker 2.3.35 API)
Description: declaration: package: freemarker.core, class: CFormat

Package freemarker.core

# Class CFormat

java.lang.Object
freemarker.core.CFormat

Direct Known Subclasses:
  `AbstractJSONLikeFormat`, `JavaCFormat`, `LegacyCFormat`, `XSCFormat`

public abstract class CFormat extends Object
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

  Modifier and Type
  Method
  Description
  `abstract String`
  `getName()`

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Method Details

  - ### getName

    public abstract String getName()