程序包 | 说明 |
---|---|
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.
|
限定符和类型 | 方法和说明 |
---|---|
ImageInfo |
ImageManager.getImageInfo(String uri,
ImageSessionContext session)
Returns an ImageInfo object containing its intrinsic size for a given URI.
|
ImageInfo |
Image.getInfo()
Returns an object with basic information (URI, MIME type, intrinsic size) about the image.
|
ImageInfo |
ImageManager.preloadImage(String uri,
ImageSessionContext session)
Preloads an image, i.e. the format of the image is identified and some basic information
(MIME type, intrinsic size and possibly other values) are loaded and returned as an
ImageInfo object.
|
ImageInfo |
ImageManager.preloadImage(String uri,
Source src)
Preloads an image, i.e. the format of the image is identified and some basic information
(MIME type, intrinsic size and possibly other values) are loaded and returned as an
ImageInfo object.
|
限定符和类型 | 方法和说明 |
---|---|
Image |
ImageManager.getImage(ImageInfo info,
ImageFlavor[] flavors,
ImageSessionContext session)
Loads an image with no hints.
|
Image |
ImageManager.getImage(ImageInfo info,
ImageFlavor[] flavors,
Map hints,
ImageSessionContext session)
Loads an image.
|
Image |
ImageManager.getImage(ImageInfo info,
ImageFlavor flavor,
ImageSessionContext session)
Loads an image with no hints.
|
Image |
ImageManager.getImage(ImageInfo info,
ImageFlavor flavor,
Map hints,
ImageSessionContext session)
Loads an image.
|
限定符和类型 | 方法和说明 |
---|---|
protected ImageInfo |
ImageCache.getImageInfo(String uri)
Returns an ImageInfo instance from the cache or null if none is found.
|
ImageInfo |
ImageCache.needImageInfo(String uri,
ImageSessionContext session,
ImageManager manager)
Returns an ImageInfo instance for a given URI.
|
限定符和类型 | 方法和说明 |
---|---|
Image |
ImageCache.getImage(ImageInfo info,
ImageFlavor flavor)
Returns an image from the cache or null if it wasn't found.
|
protected void |
ImageCache.putImageInfo(ImageInfo info)
Registers an ImageInfo instance with the cache.
|
限定符和类型 | 方法和说明 |
---|---|
ImageInfo |
AbstractImage.getInfo()
Returns an object with basic information (URI, MIME type, intrinsic size) about the image.
|
ImageInfo |
PreloaderBMP.preloadImage(String uri,
Source src,
ImageContext context)
"Preloads" an image, i.e. indentifies whether the source image is supported by this
implementation and determines the image's intrinsic size and possibly some additional
information.
|
ImageInfo |
PreloaderEPS.preloadImage(String uri,
Source src,
ImageContext context)
"Preloads" an image, i.e. indentifies whether the source image is supported by this
implementation and determines the image's intrinsic size and possibly some additional
information.
|
ImageInfo |
PreloaderRawPNG.preloadImage(String uri,
Source src,
ImageContext context) |
ImageInfo |
PreloaderTIFF.preloadImage(String uri,
Source src,
ImageContext context)
"Preloads" an image, i.e. indentifies whether the source image is supported by this
implementation and determines the image's intrinsic size and possibly some additional
information.
|
ImageInfo |
PreloaderJPEG.preloadImage(String uri,
Source src,
ImageContext context)
"Preloads" an image, i.e. indentifies whether the source image is supported by this
implementation and determines the image's intrinsic size and possibly some additional
information.
|
ImageInfo |
PreloaderGIF.preloadImage(String uri,
Source src,
ImageContext context)
"Preloads" an image, i.e. indentifies whether the source image is supported by this
implementation and determines the image's intrinsic size and possibly some additional
information.
|
ImageInfo |
PreloaderEMF.preloadImage(String uri,
Source src,
ImageContext context)
"Preloads" an image, i.e. indentifies whether the source image is supported by this
implementation and determines the image's intrinsic size and possibly some additional
information.
|
限定符和类型 | 方法和说明 |
---|---|
boolean |
ImageLoaderFactoryRawCCITTFax.isSupported(ImageInfo imageInfo)
Indicates whether the given image (represented by an
ImageInfo object) is supported
by the loader. |
boolean |
AbstractImageLoaderFactory.isSupported(ImageInfo imageInfo)
Indicates whether the given image (represented by an
ImageInfo object) is supported
by the loader. |
Image |
AbstractImageLoader.loadImage(ImageInfo info,
ImageSessionContext session)
Loads and returns an image.
|
Image |
ImageLoaderEPS.loadImage(ImageInfo info,
Map hints,
ImageSessionContext session)
Loads and returns an image.
|
Image |
ImageLoaderRawJPEG.loadImage(ImageInfo info,
Map hints,
ImageSessionContext session)
Loads and returns an image.
|
Image |
ImageLoaderRawCCITTFax.loadImage(ImageInfo info,
Map hints,
ImageSessionContext session)
Loads and returns an image.
|
Image |
CompositeImageLoader.loadImage(ImageInfo info,
Map hints,
ImageSessionContext session)
Loads and returns an image.
|
Image |
ImageLoaderRawPNG.loadImage(ImageInfo info,
Map hints,
ImageSessionContext session)
Loads and returns an image.
|
Image |
ImageLoaderPNG.loadImage(ImageInfo info,
Map hints,
ImageSessionContext session)
Loads and returns an image.
|
Image |
ImageLoaderRaw.loadImage(ImageInfo info,
Map hints,
ImageSessionContext session)
Loads and returns an image.
|
Image |
ImageLoaderInternalTIFF.loadImage(ImageInfo info,
Map hints,
ImageSessionContext session)
Loads and returns an image.
|
构造器和说明 |
---|
AbstractImage(ImageInfo info)
Main constructor
|
ImageBuffered(ImageInfo info,
BufferedImage buffered,
Color transparentColor)
Main constructor.
|
ImageGraphics2D(ImageInfo info,
Graphics2DImagePainter painter)
Main constructor.
|
ImageRawCCITTFax(ImageInfo info,
InputStream in,
int compression)
Main constructor.
|
ImageRawEPS(ImageInfo info,
ImageRawStream.InputStreamFactory streamFactory)
Main constructor.
|
ImageRawEPS(ImageInfo info,
InputStream in)
Main constructor.
|
ImageRawJPEG(ImageInfo info,
InputStream in,
int sofType,
ColorSpace colorSpace,
ICC_Profile iccProfile,
boolean invertImage)
Main constructor.
|
ImageRawPNG(ImageInfo info,
InputStream in,
ColorModel colorModel,
int bitDepth,
ICC_Profile iccProfile)
Main constructor.
|
ImageRawStream(ImageInfo info,
ImageFlavor flavor,
ImageRawStream.InputStreamFactory streamFactory)
Main constructor.
|
ImageRawStream(ImageInfo info,
ImageFlavor flavor,
InputStream in)
Constructor for a simple InputStream as parameter.
|
ImageRendered(ImageInfo info,
RenderedImage red,
Color transparentColor)
Main constructor.
|
ImageXMLDOM(ImageInfo info,
Document doc,
String rootNamespace)
Main constructor.
|
ImageXMLDOM(ImageInfo info,
Document doc,
XMLNamespaceEnabledImageFlavor flavor)
Main constructor.
|
限定符和类型 | 方法和说明 |
---|---|
ImageInfo |
PreloaderImageIO.preloadImage(String uri,
Source src,
ImageContext context)
"Preloads" an image, i.e. indentifies whether the source image is supported by this
implementation and determines the image's intrinsic size and possibly some additional
information.
|
限定符和类型 | 方法和说明 |
---|---|
Image |
ImageLoaderImageIO.loadImage(ImageInfo info,
Map hints,
ImageSessionContext session)
Loads and returns an image.
|
限定符和类型 | 方法和说明 |
---|---|
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 of
ImageProviderPipeline instances which can handle
the given MIME type and return one of the given ImageFlavor s. |
Image |
ImageProviderPipeline.execute(ImageInfo info,
Image originalImage,
Map hints,
ImageSessionContext context)
Executes the image converter pipeline.
|
Image |
ImageProviderPipeline.execute(ImageInfo info,
Map hints,
ImageSessionContext context)
Executes the image converter pipeline.
|
ImageProviderPipeline |
PipelineFactory.newImageConverterPipeline(ImageInfo imageInfo,
ImageFlavor targetFlavor)
Creates and returns an
ImageProviderPipeline that allows to load an image of the
given MIME type and present it in the requested image flavor. |
限定符和类型 | 方法和说明 |
---|---|
ImageInfo |
ImagePreloader.preloadImage(String originalURI,
Source src,
ImageContext context)
"Preloads" an image, i.e. indentifies whether the source image is supported by this
implementation and determines the image's intrinsic size and possibly some additional
information.
|
限定符和类型 | 方法和说明 |
---|---|
ImageLoaderFactory[] |
ImageImplRegistry.getImageLoaderFactories(ImageInfo imageInfo,
ImageFlavor flavor)
Returns an array of
ImageLoaderFactory instances that support the MIME type
indicated by an ImageInfo object and can generate the given image flavor. |
ImageLoaderFactory |
ImageImplRegistry.getImageLoaderFactory(ImageInfo imageInfo,
ImageFlavor flavor)
Returns the best ImageLoaderFactory supporting the
ImageInfo and image flavor. |
boolean |
ImageLoaderFactory.isSupported(ImageInfo imageInfo)
Indicates whether the given image (represented by an
ImageInfo object) is supported
by the loader. |
Image |
ImageLoader.loadImage(ImageInfo info,
ImageSessionContext session)
Loads and returns an image.
|
Image |
ImageLoader.loadImage(ImageInfo info,
Map hints,
ImageSessionContext session)
Loads and returns an image.
|
Copyright 1999-2016 The Apache Software Foundation. All Rights Reserved.