Package de.intarsys.cwt.hybrid.image
Class ImageIOImageContainer
java.lang.Object
de.intarsys.cwt.image.ImageContainer
de.intarsys.cwt.hybrid.image.ImageIOImageContainer
- All Implemented Interfaces:
IImageContainer,de.intarsys.tools.attribute.IAttributeSupport
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedImageIOImageContainer(de.intarsys.tools.locator.ILocator locator, ImageReaderSpi provider) -
Method Summary
Modifier and TypeMethodDescriptionprotected voidstatic ImageIOImageContainercreateFromLocator(de.intarsys.tools.locator.ILocator locator) static ImageIOImageContainercreateFromLocator(de.intarsys.tools.locator.ILocator locator, String formatName) static ImageIOImageContainercreateFromLocator(de.intarsys.tools.locator.ILocator locator, ImageReaderSpi provider) getImageAt(int index) intde.intarsys.tools.locator.ILocatorprotected IImageloadImage(int index) protected static ImageReaderSpilookupProviderByFormatName(String formatName) protected static ImageReaderSpilookupProviderBySuffix(String fileSuffix) protected voidopen()Methods inherited from class de.intarsys.cwt.image.ImageContainer
close, getAttribute, removeAttribute, setAttribute
-
Constructor Details
-
ImageIOImageContainer
protected ImageIOImageContainer(de.intarsys.tools.locator.ILocator locator, ImageReaderSpi provider)
-
-
Method Details
-
createFromLocator
public static ImageIOImageContainer createFromLocator(de.intarsys.tools.locator.ILocator locator) throws IOException - Throws:
IOException
-
createFromLocator
public static ImageIOImageContainer createFromLocator(de.intarsys.tools.locator.ILocator locator, ImageReaderSpi provider) throws IOException - Throws:
IOException
-
createFromLocator
public static ImageIOImageContainer createFromLocator(de.intarsys.tools.locator.ILocator locator, String formatName) throws IOException - Throws:
IOException
-
lookupProviderByFormatName
-
lookupProviderBySuffix
-
basicClose
- Specified by:
basicClosein classImageContainer- Throws:
IOException
-
getImageAt
-
getImageCount
public int getImageCount() -
getLocator
public de.intarsys.tools.locator.ILocator getLocator() -
getMetadata
- Throws:
IOException
-
loadImage
- Throws:
IOException
-
open
- Throws:
IOException
-