Package org.cadixdev.lorenz.io
Class MappingFormats
- java.lang.Object
-
- org.cadixdev.lorenz.io.MappingFormats
-
public final class MappingFormats extends java.lang.ObjectA psuedo-enum of the mapping formats implemented within Lorenz.- Since:
- 0.4.0
-
-
Field Summary
Fields Modifier and Type Field Description static TextMappingFormatCSRGThe CSRG (compact SRG) mapping format.static Registry<MappingFormat>REGISTRYThe registry ofMappingFormats.static TextMappingFormatSRGThe SRG mapping format.static TextMappingFormatTSRGThe TSRG (tiny SRG) mapping format.static TextMappingFormatXSRGThe XSRG (SRG + field types) mapping format.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static MappingFormatbyId(java.lang.String id)
-
-
-
Field Detail
-
REGISTRY
public static final Registry<MappingFormat> REGISTRY
The registry ofMappingFormats.
-
SRG
public static final TextMappingFormat SRG
The SRG mapping format.
-
CSRG
public static final TextMappingFormat CSRG
The CSRG (compact SRG) mapping format.
-
TSRG
public static final TextMappingFormat TSRG
The TSRG (tiny SRG) mapping format.
-
XSRG
public static final TextMappingFormat XSRG
The XSRG (SRG + field types) mapping format.
-
-
Method Detail
-
byId
public static MappingFormat byId(java.lang.String id)
- Parameters:
id- The identifier of the value- Returns:
- The value, or
nullif not present - See Also:
Registry.byId(String)
-
-