
public static class MediaPictureConverterFactory.Type extends Object
MediaPictureConverterFactory. The factory
oragnizes the converters by descriptor, and thus each should be
unique unless you wish to replace an existing converter.| Constructor and Description |
|---|
Type(String descriptor,
Class<? extends MediaPictureConverter> converterClass,
PixelFormat.Type pictureType,
int imageType)
Construct a complete converter type description.
|
| Modifier and Type | Method and Description |
|---|---|
Class<? extends MediaPictureConverter> |
getConverterClass()
Get the class responsible for converting between types.
|
String |
getDescriptor()
Get the unique string which describes this converter.
|
int |
getImageType()
Get the
BufferedImage type which the image must be in to
convert it to a MediaPicture |
PixelFormat.Type |
getPictureType()
Get the
PixelFormat.Type which the
picture must be in to convert it to a BufferedImage |
String |
toString()
Get a string description of this conveter type.
|
public Type(String descriptor, Class<? extends MediaPictureConverter> converterClass, PixelFormat.Type pictureType, int imageType)
descriptor - a unique string which describes this converterconverterClass - the class which converts between pictures
and imagespictureType - the PixelFormat.Type type which the
picture must be in to convert it to an imageimageType - the BufferedImage type which the picture
must be in to convert it to a BufferedImagepublic String getDescriptor()
public Class<? extends MediaPictureConverter> getConverterClass()
public PixelFormat.Type getPictureType()
PixelFormat.Type which the
picture must be in to convert it to a BufferedImagepublic int getImageType()
BufferedImage type which the image must be in to
convert it to a MediaPictureCopyright © 2018 Humble Software. All rights reserved.