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(File file)
static PersistenceTypeDictionaryFileHandler
New(File file, PersistenceTypeDictionaryStorer writeListener)
static PersistenceTypeDictionaryFileHandler
NewInDirectory(File directory)
static PersistenceTypeDictionaryFileHandler
NewInDirectory(File directory, PersistenceTypeDictionaryStorer writeListener)
static PersistenceTypeDictionaryFileHandler.Provider
Provider(File file)
static PersistenceTypeDictionaryFileHandler.Provider
ProviderInDirectory(File directory)
static String
readTypeDictionary(File file)
static String
readTypeDictionary(File file, String defaultString)
void
storeTypeDictionary(String typeDictionaryString)
static void
writeTypeDictionary(File file, String typeDictionaryString)
-
-
-
Method Detail
-
writeTypeDictionary
public static final void writeTypeDictionary(File file, String typeDictionaryString)
-
NewInDirectory
public static PersistenceTypeDictionaryFileHandler NewInDirectory(File directory)
-
New
public static PersistenceTypeDictionaryFileHandler New(File file)
-
NewInDirectory
public static PersistenceTypeDictionaryFileHandler NewInDirectory(File directory, PersistenceTypeDictionaryStorer writeListener)
-
New
public static PersistenceTypeDictionaryFileHandler New(File 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(File directory)
-
Provider
public static PersistenceTypeDictionaryFileHandler.Provider Provider(File file)
-
-