Top Description Fields Constructors Methods
com.typesafe.config

public final Enum ConfigSyntax

extends Enum<ConfigSyntax>
Class Inheritance

The syntax of a character stream (JSON, HOCON aka ".conf", or Java properties).

Field Summary

Modifier and TypeField and Description
public static final ConfigSyntax
CONF

The JSON-superset HOCON format.

public static final ConfigSyntax
JSON

Pedantically strict JSON format; no comments, no unexpected commas, no duplicate keys in the same object.

public static final ConfigSyntax
PROPERTIES

Standard Java properties format.

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public static ConfigSyntax
public static ConfigSyntax[]
Inherited from java.lang.Enum:
clonecompareTodescribeConstableequalsfinalizegetDeclaringClasshashCodenameordinaltoStringvalueOf

Field Detail

CONFback to summary
public static final ConfigSyntax CONF

The JSON-superset HOCON format. Associated with the .conf file extension and application/hocon Content-Type.

JSONback to summary
public static final ConfigSyntax JSON

Pedantically strict JSON format; no comments, no unexpected commas, no duplicate keys in the same object. Associated with the .json file extension and application/json Content-Type.

PROPERTIESback to summary
public static final ConfigSyntax PROPERTIES

Standard Java properties format. Associated with the .properties file extension and text/x-java-properties Content-Type.

Constructor Detail

ConfigSyntaxback to summary
private ConfigSyntax()

Method Detail

valueOfback to summary
public static ConfigSyntax valueOf(String name)
valuesback to summary
public static ConfigSyntax[] values()