Package com.illumon.dbtypes
Class DbFileImpl.Factory
java.lang.Object
com.illumon.dbtypes.DbFileImpl.Factory
- All Implemented Interfaces:
DbFileFactory
- Enclosing class:
- DbFileImpl
A factory for creating
DbFiles.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionCreates an empty file.newInstance(byte[] bytes) Creates a file from file bytes.newInstance(File file) Creates a file from a file on the filesystem.newInstance(String file) Creates a file from a file on the filesystem.
-
Constructor Details
-
Factory
public Factory()
-
-
Method Details
-
newInstance
Description copied from interface:DbFileFactoryCreates an empty file.- Specified by:
newInstancein interfaceDbFileFactory
-
newInstance
Description copied from interface:DbFileFactoryCreates a file from file bytes.- Specified by:
newInstancein interfaceDbFileFactory- Parameters:
bytes- file bytes
-
newInstance
Description copied from interface:DbFileFactoryCreates a file from a file on the filesystem.- Specified by:
newInstancein interfaceDbFileFactory- Parameters:
file- file location
-
newInstance
Description copied from interface:DbFileFactoryCreates a file from a file on the filesystem.- Specified by:
newInstancein interfaceDbFileFactory- Parameters:
file- file location
-