Package step.core.collections.filesystem
Class FilesystemCollectionFactory
- java.lang.Object
-
- step.core.collections.filesystem.FilesystemCollectionFactory
-
- All Implemented Interfaces:
Closeable,AutoCloseable,CollectionFactory
public class FilesystemCollectionFactory extends Object implements CollectionFactory
-
-
Field Summary
Fields Modifier and Type Field Description static StringFILESYSTEM_PATH
-
Constructor Summary
Constructors Constructor Description FilesystemCollectionFactory(File workspace)FilesystemCollectionFactory(Properties properties)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()<T> Collection<T>getCollection(String name, Class<T> entityClass)
-
-
-
Field Detail
-
FILESYSTEM_PATH
public static final String FILESYSTEM_PATH
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
FilesystemCollectionFactory
public FilesystemCollectionFactory(Properties properties)
-
FilesystemCollectionFactory
public FilesystemCollectionFactory(File workspace)
-
-
Method Detail
-
close
public void close() throws IOException- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Throws:
IOException
-
getCollection
public <T> Collection<T> getCollection(String name, Class<T> entityClass)
- Specified by:
getCollectionin interfaceCollectionFactory
-
-