Class StorageViewDataConverterRegistry.Default
java.lang.Object
one.microstream.storage.restadapter.StorageViewDataConverterRegistry.Default
- All Implemented Interfaces:
StorageViewDataConverterProvider
,StorageViewDataConverterRegistry
- Enclosing interface:
- StorageViewDataConverterRegistry
public static class StorageViewDataConverterRegistry.Default extends Object implements StorageViewDataConverterRegistry
-
Nested Class Summary
Nested classes/interfaces inherited from interface one.microstream.storage.restadapter.StorageViewDataConverterRegistry
StorageViewDataConverterRegistry.Default
-
Constructor Summary
Constructors Constructor Description Default()
-
Method Summary
Modifier and Type Method Description boolean
addConverter(StorageViewDataConverter converter, String format)
register new data converterStorageViewDataConverter
getConverter(String format)
Get the converter for the requested format.
-
Constructor Details
-
Default
public Default()
-
-
Method Details
-
getConverter
Description copied from interface:StorageViewDataConverterProvider
Get the converter for the requested format.- Specified by:
getConverter
in interfaceStorageViewDataConverterProvider
- Specified by:
getConverter
in interfaceStorageViewDataConverterRegistry
- Returns:
- StorageViewDataConverter
-
addConverter
register new data converter- Specified by:
addConverter
in interfaceStorageViewDataConverterRegistry
- Parameters:
converter
-format
-- Returns:
- true if successful registered, otherwise false
-