Uses of Class
org.apache.xmlgraphics.image.loader.ImageFlavor
-
Packages that use ImageFlavor Package Description org.apache.xmlgraphics.image.loader Contains image loading and conversion infrastructure for various image sources and an image cache.org.apache.xmlgraphics.image.loader.cache Contains image caching infrastructure.org.apache.xmlgraphics.image.loader.impl Contains implementations of image loaders and converters.org.apache.xmlgraphics.image.loader.impl.imageio Contains an implementation of an image loader which uses ImageIO.org.apache.xmlgraphics.image.loader.pipeline Provides an image loading and processing pipeline.org.apache.xmlgraphics.image.loader.spi Defines service provider interfaces for the image infrastructure. -
-
Uses of ImageFlavor in org.apache.xmlgraphics.image.loader
Subclasses of ImageFlavor in org.apache.xmlgraphics.image.loader Modifier and Type Class Description classMimeEnabledImageFlavorSpecial image flavor subclass which enables the restriction to a particular MIME type.classRefinedImageFlavorSpecial image flavor subclass which enables the refinement to specific (sub-)flavors but maintaining compatibility to a parent (i.e.classSimpleRefinedImageFlavorSimple refined image flavor implementation that just differs flavors by name but allows to specify a parent flavor.classXMLNamespaceEnabledImageFlavorSpecial image flavor subclass which enables the restriction to a particular XML namespace.Fields in org.apache.xmlgraphics.image.loader declared as ImageFlavor Modifier and Type Field Description static ImageFlavorImageFlavor. BUFFERED_IMAGEAn image in form of a BufferedImage instancestatic ImageFlavorImageFlavor. GRAPHICS2DAn image in form of a Graphics2DImage (can be painted on a Graphics2D interface)static ImageFlavorImageFlavor. RAWAn image in form of a raw PNG file/streamstatic ImageFlavorImageFlavor. RAW_CCITTFAXAn image in form of a raw CCITTFax streamstatic ImageFlavorImageFlavor. RAW_EMFAn image in form of a raw EMF (Windows Enhanced Metafile) file/streamstatic ImageFlavorImageFlavor. RAW_EPSAn image in form of a raw EPS (Encapsulated PostScript) file/streamstatic ImageFlavorImageFlavor. RAW_JPEGAn image in form of a raw JPEG/JFIF file/streamstatic ImageFlavorImageFlavor. RAW_LZWAn image in form of a raw LZW file/streamstatic ImageFlavorImageFlavor. RAW_PNGAn image in form of a raw PNG file/streamstatic ImageFlavorImageFlavor. RAW_TIFFAn image in form of a raw TIFF file/streamstatic ImageFlavorImageFlavor. RENDERED_IMAGEAn image in form of a RenderedImage instancestatic ImageFlavorXMLNamespaceEnabledImageFlavor. SVG_DOMAn XML-based SVG image in form of a W3C DOM instancestatic ImageFlavorImageFlavor. XML_DOMAn XML-based image in form of a W3C DOM instanceMethods in org.apache.xmlgraphics.image.loader that return ImageFlavor Modifier and Type Method Description ImageFlavorImage. getFlavor()Returns the flavor of the image.ImageFlavorRefinedImageFlavor. getParentFlavor()Returns the associated parent image flavor.Methods in org.apache.xmlgraphics.image.loader with parameters of type ImageFlavor Modifier and Type Method Description ImageImageManager. convertImage(Image image, ImageFlavor[] flavors)Converts an image with no hints.ImageImageManager. convertImage(Image image, ImageFlavor[] flavors, java.util.Map hints)Converts an image.ImageImageManager. getImage(ImageInfo info, ImageFlavor[] flavors, java.util.Map hints, ImageSessionContext session)Loads an image.ImageImageManager. getImage(ImageInfo info, ImageFlavor[] flavors, ImageSessionContext session)Loads an image with no hints.ImageImageManager. getImage(ImageInfo info, ImageFlavor flavor, java.util.Map hints, ImageSessionContext session)Loads an image.ImageImageManager. getImage(ImageInfo info, ImageFlavor flavor, ImageSessionContext session)Loads an image with no hints.booleanImageFlavor. isCompatible(ImageFlavor flavor)Indicates whether a particular image flavor is compatible with this one.booleanRefinedImageFlavor. isCompatible(ImageFlavor flavor)Indicates whether a particular image flavor is compatible with this one.Constructors in org.apache.xmlgraphics.image.loader with parameters of type ImageFlavor Constructor Description MimeEnabledImageFlavor(ImageFlavor parentFlavor, java.lang.String mime)Constructs a new image flavor.RefinedImageFlavor(java.lang.String name, ImageFlavor parentFlavor)Constructs a new image flavor.RefinedImageFlavor(ImageFlavor parentFlavor)Constructs a new image flavor.SimpleRefinedImageFlavor(ImageFlavor parentFlavor, java.lang.String name)Main constructor.XMLNamespaceEnabledImageFlavor(ImageFlavor parentFlavor, java.lang.String namespace)Constructs a new image flavor. -
Uses of ImageFlavor in org.apache.xmlgraphics.image.loader.cache
Methods in org.apache.xmlgraphics.image.loader.cache with parameters of type ImageFlavor Modifier and Type Method Description ImageImageCache. getImage(java.lang.String uri, ImageFlavor flavor)Returns an image from the cache or null if it wasn't found.ImageImageCache. getImage(ImageInfo info, ImageFlavor flavor)Returns an image from the cache or null if it wasn't found.Constructors in org.apache.xmlgraphics.image.loader.cache with parameters of type ImageFlavor Constructor Description ImageKey(java.lang.String uri, ImageFlavor flavor)Main constructor. -
Uses of ImageFlavor in org.apache.xmlgraphics.image.loader.impl
Methods in org.apache.xmlgraphics.image.loader.impl that return ImageFlavor Modifier and Type Method Description ImageFlavorImageBuffered. getFlavor()Returns the flavor of the image.ImageFlavorImageGraphics2D. getFlavor()Returns the flavor of the image.ImageFlavorImageRawStream. getFlavor()Returns the flavor of the image.ImageFlavorImageRendered. getFlavor()Returns the flavor of the image.ImageFlavorImageXMLDOM. getFlavor()Returns the flavor of the image.ImageFlavorImageConverterBitmap2G2D. getSourceFlavor()Returns the flavor that this converter expects.ImageFlavorImageConverterBuffered2Rendered. getSourceFlavor()Returns the flavor that this converter expects.ImageFlavorImageConverterG2D2Bitmap. getSourceFlavor()Returns the flavor that this converter expects.ImageFlavorImageConverterRendered2PNG. getSourceFlavor()Returns the flavor that this converter expects.ImageFlavor[]ImageLoaderFactoryEPS. getSupportedFlavors(java.lang.String mime)Returns an array of ImageFlavors that are supported by this implementation for a given MIME type.ImageFlavor[]ImageLoaderFactoryInternalTIFF. getSupportedFlavors(java.lang.String mime)Returns an array of ImageFlavors that are supported by this implementation for a given MIME type.ImageFlavor[]ImageLoaderFactoryPNG. getSupportedFlavors(java.lang.String mime)Returns an array of ImageFlavors that are supported by this implementation for a given MIME type.ImageFlavor[]ImageLoaderFactoryRaw. getSupportedFlavors(java.lang.String mime)Returns an array of ImageFlavors that are supported by this implementation for a given MIME type.ImageFlavor[]ImageLoaderFactoryRawCCITTFax. getSupportedFlavors(java.lang.String mime)Returns an array of ImageFlavors that are supported by this implementation for a given MIME type.ImageFlavorCompositeImageLoader. getTargetFlavor()Returns the image flavor that is returned by this ImageLoader implementation.ImageFlavorImageConverterBitmap2G2D. getTargetFlavor()Returns the flavor that this converter converts images into.ImageFlavorImageConverterBuffered2Rendered. getTargetFlavor()Returns the flavor that this converter converts images into.ImageFlavorImageConverterG2D2Bitmap. getTargetFlavor()Returns the flavor that this converter converts images into.ImageFlavorImageConverterRendered2PNG. getTargetFlavor()Returns the flavor that this converter converts images into.ImageFlavorImageLoaderEPS. getTargetFlavor()Returns the image flavor that is returned by this ImageLoader implementation.ImageFlavorImageLoaderInternalTIFF. getTargetFlavor()Returns the image flavor that is returned by this ImageLoader implementation.ImageFlavorImageLoaderPNG. getTargetFlavor()Returns the image flavor that is returned by this ImageLoader implementation.ImageFlavorImageLoaderRaw. getTargetFlavor()Returns the image flavor that is returned by this ImageLoader implementation.ImageFlavorImageLoaderRawCCITTFax. getTargetFlavor()Returns the image flavor that is returned by this ImageLoader implementation.ImageFlavorImageLoaderRawJPEG. getTargetFlavor()Returns the image flavor that is returned by this ImageLoader implementation.ImageFlavorImageLoaderRawPNG. getTargetFlavor()Returns the image flavor that is returned by this ImageLoader implementation.Methods in org.apache.xmlgraphics.image.loader.impl with parameters of type ImageFlavor Modifier and Type Method Description static java.lang.StringImageLoaderFactoryRaw. getMimeForRawFlavor(ImageFlavor flavor)Returns the MIME type for a given ImageFlavor if it is from a format that is consumed without being undecoded.static java.lang.StringImageLoaderFactoryRawCCITTFax. getMimeForRawFlavor(ImageFlavor flavor)Returns the MIME type for a given ImageFlavor if it is from a format that is consumed without being undecoded.intAbstractImageLoaderFactory. getUsagePenalty(java.lang.String mime, ImageFlavor flavor)Deprecated.Redundancy withImageLoader.getUsagePenalty()ImageLoaderImageLoaderFactoryEPS. newImageLoader(ImageFlavor targetFlavor)Creates and returns a new ImageLoader instance.ImageLoaderImageLoaderFactoryInternalTIFF. newImageLoader(ImageFlavor targetFlavor)Creates and returns a new ImageLoader instance.ImageLoaderImageLoaderFactoryPNG. newImageLoader(ImageFlavor targetFlavor)Creates and returns a new ImageLoader instance.ImageLoaderImageLoaderFactoryRaw. newImageLoader(ImageFlavor targetFlavor)Creates and returns a new ImageLoader instance.ImageLoaderImageLoaderFactoryRawCCITTFax. newImageLoader(ImageFlavor targetFlavor)Creates and returns a new ImageLoader instance.Constructors in org.apache.xmlgraphics.image.loader.impl with parameters of type ImageFlavor Constructor Description ImageLoaderRaw(ImageFlavor targetFlavor)Main constructor.ImageRawStream(ImageInfo info, ImageFlavor flavor, java.io.InputStream in)Constructor for a simple InputStream as parameter.ImageRawStream(ImageInfo info, ImageFlavor flavor, ImageRawStream.InputStreamFactory streamFactory)Main constructor. -
Uses of ImageFlavor in org.apache.xmlgraphics.image.loader.impl.imageio
Methods in org.apache.xmlgraphics.image.loader.impl.imageio that return ImageFlavor Modifier and Type Method Description ImageFlavor[]ImageLoaderFactoryImageIO. getSupportedFlavors(java.lang.String mime)Returns an array of ImageFlavors that are supported by this implementation for a given MIME type.ImageFlavorImageLoaderImageIO. getTargetFlavor()Returns the image flavor that is returned by this ImageLoader implementation.Methods in org.apache.xmlgraphics.image.loader.impl.imageio with parameters of type ImageFlavor Modifier and Type Method Description ImageLoaderImageLoaderFactoryImageIO. newImageLoader(ImageFlavor targetFlavor)Creates and returns a new ImageLoader instance.Constructors in org.apache.xmlgraphics.image.loader.impl.imageio with parameters of type ImageFlavor Constructor Description ImageLoaderImageIO(ImageFlavor targetFlavor)Main constructor. -
Uses of ImageFlavor in org.apache.xmlgraphics.image.loader.pipeline
Methods in org.apache.xmlgraphics.image.loader.pipeline that return ImageFlavor Modifier and Type Method Description ImageFlavorImageRepresentation. getFlavor()Returns the image flavor.ImageFlavorImageProviderPipeline. getTargetFlavor()Returns the target flavor generated by this pipeline.Methods in org.apache.xmlgraphics.image.loader.pipeline with parameters of type ImageFlavor Modifier and Type Method Description ImageProviderPipeline[]PipelineFactory. determineCandidatePipelines(ImageInfo imageInfo, ImageFlavor targetFlavor)Determines all possible pipelines for the given image that can produce the requested target flavor.ImageProviderPipeline[]PipelineFactory. determineCandidatePipelines(ImageInfo imageInfo, ImageFlavor[] flavors)Finds and returns an array ofImageProviderPipelineinstances which can handle the given MIME type and return one of the givenImageFlavors.ImageProviderPipeline[]PipelineFactory. determineCandidatePipelines(Image sourceImage, ImageFlavor[] flavors)Finds and returns an array ofImageProviderPipelineinstances which can handle the convert the givenImageand return one of the givenImageFlavors.ImageProviderPipelinePipelineFactory. newImageConverterPipeline(ImageInfo imageInfo, ImageFlavor targetFlavor)Creates and returns anImageProviderPipelinethat allows to load an image of the given MIME type and present it in the requested image flavor.ImageProviderPipelinePipelineFactory. newImageConverterPipeline(Image originalImage, ImageFlavor targetFlavor)Creates and returns anImageProviderPipelinethat allows to load an image of the given MIME type and present it in the requested image flavor.Constructors in org.apache.xmlgraphics.image.loader.pipeline with parameters of type ImageFlavor Constructor Description ImageRepresentation(ImageFlavor flavor)Main constructor -
Uses of ImageFlavor in org.apache.xmlgraphics.image.loader.spi
Methods in org.apache.xmlgraphics.image.loader.spi that return ImageFlavor Modifier and Type Method Description ImageFlavorImageConverter. getSourceFlavor()Returns the flavor that this converter expects.ImageFlavor[]ImageLoaderFactory. getSupportedFlavors(java.lang.String mime)Returns an array of ImageFlavors that are supported by this implementation for a given MIME type.ImageFlavorImageConverter. getTargetFlavor()Returns the flavor that this converter converts images into.ImageFlavorImageLoader. getTargetFlavor()Returns the image flavor that is returned by this ImageLoader implementation.Methods in org.apache.xmlgraphics.image.loader.spi with parameters of type ImageFlavor Modifier and Type Method Description ImageLoaderFactory[]ImageImplRegistry. getImageLoaderFactories(ImageInfo imageInfo, ImageFlavor flavor)Returns an array ofImageLoaderFactoryinstances that support the MIME type indicated by anImageInfoobject and can generate the given image flavor.ImageLoaderFactoryImageImplRegistry. getImageLoaderFactory(ImageInfo imageInfo, ImageFlavor flavor)Returns the best ImageLoaderFactory supporting theImageInfoand image flavor.intImageLoaderFactory. getUsagePenalty(java.lang.String mime, ImageFlavor flavor)Deprecated.Redundancy withImageLoader.getUsagePenalty()ImageLoaderImageLoaderFactory. newImageLoader(ImageFlavor targetFlavor)Creates and returns a new ImageLoader instance.
-