public static enum PropertiesConverter.MapPropertiesConverter extends Enum<PropertiesConverter.MapPropertiesConverter> implements PropertiesConverter<NavigableMap<String,String>>
PropertiesConverter.IdemConverter, PropertiesConverter.MapPropertiesConverter
Enum Constant and Description |
---|
INSTANCE |
Modifier and Type | Method and Description |
---|---|
Properties |
marshal(NavigableMap<String,String> value) |
NavigableMap<String,String> |
unmarshal(Properties properties) |
static PropertiesConverter.MapPropertiesConverter |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PropertiesConverter.MapPropertiesConverter[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PropertiesConverter.MapPropertiesConverter INSTANCE
public static PropertiesConverter.MapPropertiesConverter[] values()
for (PropertiesConverter.MapPropertiesConverter c : PropertiesConverter.MapPropertiesConverter.values()) System.out.println(c);
public static PropertiesConverter.MapPropertiesConverter valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null@Nonnull public Properties marshal(@Nonnull NavigableMap<String,String> value)
marshal
in interface PropertiesConverter<NavigableMap<String,String>>
@Nonnull public NavigableMap<String,String> unmarshal(@Nonnull Properties properties)
unmarshal
in interface PropertiesConverter<NavigableMap<String,String>>
Copyright © 2020. All Rights Reserved.