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)
-
-
-
Method Detail
-
writeTypeDictionary
public static final void writeTypeDictionary(Path file, String typeDictionaryString)
-
NewInDirectory
public static PersistenceTypeDictionaryFileHandler NewInDirectory(Path directory)
-
New
public static PersistenceTypeDictionaryFileHandler New(Path file)
-
NewInDirectory
public static PersistenceTypeDictionaryFileHandler NewInDirectory(Path directory, PersistenceTypeDictionaryStorer writeListener)
-
New
public static PersistenceTypeDictionaryFileHandler New(Path file, PersistenceTypeDictionaryStorer writeListener)
-
loadTypeDictionary
public final String loadTypeDictionary()
- Specified by:
loadTypeDictionary
in interfacePersistenceTypeDictionaryLoader
-
storeTypeDictionary
public final void storeTypeDictionary(String typeDictionaryString)
- Specified by:
storeTypeDictionary
in interfacePersistenceTypeDictionaryStorer
-
ProviderInDirectory
public static PersistenceTypeDictionaryFileHandler.Provider ProviderInDirectory(Path directory)
-
Provider
public static PersistenceTypeDictionaryFileHandler.Provider Provider(Path file)
-
-