Package io.ultreia.java4all.config.io
Interface RuntimeStorage
-
- All Superinterfaces:
io.ultreia.java4all.util.io.ConfigFormat,io.ultreia.java4all.util.io.ReaderContract<Properties>,io.ultreia.java4all.util.io.StorageContract<Properties>,io.ultreia.java4all.util.io.WriterContract<Properties>
- All Known Implementing Classes:
DefaultStorageProperties
public interface RuntimeStorage extends io.ultreia.java4all.util.io.StorageContract<Properties>
Created on 10/12/2021.- Since:
- 1.0.18
- Author:
- Tony Chemit - dev@tchemit.fr
-
-
Field Summary
Fields Modifier and Type Field Description static io.ultreia.java4all.util.SingletonSupplier<Map<String,RuntimeStorage>>CACHECache.
-
Method Summary
Static Methods Modifier and Type Method Description static RuntimeStorageget(String format)Get theRuntimeStoragefor the givenformat.
-
-
-
Field Detail
-
CACHE
static final io.ultreia.java4all.util.SingletonSupplier<Map<String,RuntimeStorage>> CACHE
Cache.
-
-
Method Detail
-
get
static RuntimeStorage get(String format)
Get theRuntimeStoragefor the givenformat.- Parameters:
format- format of storage to get- Returns:
- the found storage
- Throws:
IllegalArgumentException- if no storage found for the given formatNullPointerException- if format is null
-
-