Package com.illumon.dbtypes
Class DbImageImpl.Factory
java.lang.Object
com.illumon.dbtypes.DbImageImpl.Factory
- All Implemented Interfaces:
DbImageFactory
- Enclosing class:
- DbImageImpl
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionnewInstance(byte[] bytes) Creates an image from image file bytes.newInstance(BufferedImage image) Creates an image from aBufferedImage.newInstance(File file) Creates an image from an image file.newInstance(String file) Creates an image from an image file.
-
Constructor Details
-
Factory
public Factory()
-
-
Method Details
-
newInstance
Description copied from interface:DbImageFactoryCreates an image from image file bytes.- Specified by:
newInstancein interfaceDbImageFactory- Parameters:
bytes- image file bytes
-
newInstance
Description copied from interface:DbImageFactoryCreates an image from an image file.- Specified by:
newInstancein interfaceDbImageFactory- Parameters:
file- file location
-
newInstance
Description copied from interface:DbImageFactoryCreates an image from an image file.- Specified by:
newInstancein interfaceDbImageFactory- Parameters:
file- file location
-
newInstance
Description copied from interface:DbImageFactoryCreates an image from aBufferedImage.- Specified by:
newInstancein interfaceDbImageFactory- Parameters:
image- input image
-