Interface StorageViewDataConverterRegistry
- All Superinterfaces:
StorageViewDataConverterProvider
- All Known Subinterfaces:
StorageRestAdapter
- All Known Implementing Classes:
StorageRestAdapter.Default
,StorageViewDataConverterRegistry.Default
public interface StorageViewDataConverterRegistry extends StorageViewDataConverterProvider
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
StorageViewDataConverterRegistry.Default
-
Method Summary
Modifier and Type Method Description boolean
addConverter(StorageViewDataConverter converter, String format)
Registers a new data converter.StorageViewDataConverter
getConverter(String format)
Get the converter for the requested format.static StorageViewDataConverterRegistry
New()
-
Method Details
-
getConverter
Description copied from interface:StorageViewDataConverterProvider
Get the converter for the requested format.- Specified by:
getConverter
in interfaceStorageViewDataConverterProvider
- Returns:
- StorageViewDataConverter
-
addConverter
Registers a new data converter.- Parameters:
converter
-format
-- Returns:
- true if successful registered, otherwise false
-
New
-