public class DescriptorType extends IterableConstant<java.lang.String>
| Modifier and Type | Field and Description |
|---|---|
static DescriptorType |
JSON
Constant
JSON |
static DescriptorType |
XML
Constant
XML |
static DescriptorType |
YML
Constant
YML |
| Modifier | Constructor and Description |
|---|---|
protected |
DescriptorType(java.lang.String value)
Constructor for DescriptorType.
|
| Modifier and Type | Method and Description |
|---|---|
static DescriptorType |
fromExtension(java.lang.String filename)
Identifies and provides type of marshaller to be used using file extension.
|
public static final DescriptorType JSON
JSONpublic static final DescriptorType XML
XMLpublic static final DescriptorType YML
YMLprotected DescriptorType(java.lang.String value)
Constructor for DescriptorType.
value - a String object.public static DescriptorType fromExtension(java.lang.String filename)
filename - Name of file along with extension.Copyright © 2022. All rights reserved.