Class PersistenceTypeDictionaryFileHandler
java.lang.Object
one.microstream.persistence.internal.PersistenceTypeDictionaryFileHandler
- All Implemented Interfaces:
PersistenceTypeDictionaryIoHandler
,PersistenceTypeDictionaryLoader
,PersistenceTypeDictionaryStorer
- Direct Known Subclasses:
PersistenceTypeDictionaryFileHandlerArchiving
public class PersistenceTypeDictionaryFileHandler extends Object implements PersistenceTypeDictionaryIoHandler
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
PersistenceTypeDictionaryFileHandler.Creator
static class
PersistenceTypeDictionaryFileHandler.Provider
-
Constructor Summary
Constructors Constructor Description PersistenceTypeDictionaryFileHandler()
-
Method Summary
Modifier and Type Method Description String
loadTypeDictionary()
static PersistenceTypeDictionaryFileHandler
New(Path file)
static PersistenceTypeDictionaryFileHandler
New(Path file, PersistenceTypeDictionaryStorer writeListener)
static PersistenceTypeDictionaryFileHandler
NewInDirectory(Path directory)
static PersistenceTypeDictionaryFileHandler
NewInDirectory(Path directory, PersistenceTypeDictionaryStorer writeListener)
static PersistenceTypeDictionaryFileHandler.Provider
Provider(Path file)
static PersistenceTypeDictionaryFileHandler.Provider
ProviderInDirectory(Path directory)
static String
readTypeDictionary(Path file)
static String
readTypeDictionary(Path file, String defaultString)
void
storeTypeDictionary(String typeDictionaryString)
static void
writeTypeDictionary(Path file, String typeDictionaryString)
-
Constructor Details
-
PersistenceTypeDictionaryFileHandler
public PersistenceTypeDictionaryFileHandler()
-
-
Method Details
-
readTypeDictionary
-
readTypeDictionary
-
writeTypeDictionary
-
NewInDirectory
-
New
-
NewInDirectory
public static PersistenceTypeDictionaryFileHandler NewInDirectory(Path directory, PersistenceTypeDictionaryStorer writeListener) -
New
public static PersistenceTypeDictionaryFileHandler New(Path file, PersistenceTypeDictionaryStorer writeListener) -
loadTypeDictionary
- Specified by:
loadTypeDictionary
in interfacePersistenceTypeDictionaryLoader
-
storeTypeDictionary
- Specified by:
storeTypeDictionary
in interfacePersistenceTypeDictionaryStorer
-
ProviderInDirectory
-
Provider
-