Top Fields Constructors Methods
com.sun.javafx.iio.common

public Class ImageDescriptor

extends Object
implements ImageFormatDescription
Class Inheritance
All Implemented Interfaces
com.sun.javafx.iio.ImageFormatDescription
Known Direct Subclasses
com.sun.javafx.iio.gif.GIFDescriptor, com.sun.javafx.iio.ios.IosDescriptor, com.sun.javafx.iio.jpeg.JPEGDescriptor, com.sun.javafx.iio.png.PNGDescriptor, com.sun.javafx.iio.bmp.BMPDescriptor
Imports
com.sun.javafx.iio.ImageFormatDescription, java.util.List

Field Summary

Modifier and TypeField and Description
private final List<String>
private final String
private final List<String>
private final List<ImageFormatDescription.Signature>

Constructor Summary

AccessConstructor and Description
public
ImageDescriptor(String formatName, String[] extensions, ImageFormatDescription.Signature[] signatures, String[] mimeSubtypes)

Method Summary

Modifier and TypeMethod and Description
public List<String>
getExtensions()

Implements com.sun.javafx.iio.ImageFormatDescription.getExtensions.

Get the extension(s) used for a file stored in this format, preferably in lower case.

public String
getFormatName()

Implements com.sun.javafx.iio.ImageFormatDescription.getFormatName.

Get the name of the format, for example "JPEG," "PNG," and so on, preferably in upper case.

public List<String>
getMIMESubtypes()

Implements com.sun.javafx.iio.ImageFormatDescription.getMIMESubtypes.

Get the MIME subtype(s) of the "image" type corresponding to this format, for example, "jpeg" "png," etc.

public List<ImageFormatDescription.Signature>
getSignatures()

Implements com.sun.javafx.iio.ImageFormatDescription.getSignatures.

Get the possible signatures which may appear at the beginning of the stream of an image stored in this format.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

extensionsback to summary
private final List<String> extensions
formatNameback to summary
private final String formatName
mimeSubtypesback to summary
private final List<String> mimeSubtypes
signaturesback to summary
private final List<ImageFormatDescription.Signature> signatures

Constructor Detail

ImageDescriptorback to summary
public ImageDescriptor(String formatName, String[] extensions, ImageFormatDescription.Signature[] signatures, String[] mimeSubtypes)

Method Detail

getExtensionsback to summary
public List<String> getExtensions()

Implements com.sun.javafx.iio.ImageFormatDescription.getExtensions.

Doc from com.sun.javafx.iio.ImageFormatDescription.getExtensions.

Get the extension(s) used for a file stored in this format, preferably in lower case.

Returns:List<String>

the file extension(s) for this format.

Annotations
@Override
getFormatNameback to summary
public String getFormatName()

Implements com.sun.javafx.iio.ImageFormatDescription.getFormatName.

Doc from com.sun.javafx.iio.ImageFormatDescription.getFormatName.

Get the name of the format, for example "JPEG," "PNG," and so on, preferably in upper case.

Returns:String

the format name.

Annotations
@Override
getMIMESubtypesback to summary
public List<String> getMIMESubtypes()

Implements com.sun.javafx.iio.ImageFormatDescription.getMIMESubtypes.

Doc from com.sun.javafx.iio.ImageFormatDescription.getMIMESubtypes.

Get the MIME subtype(s) of the "image" type corresponding to this format, for example, "jpeg" "png," etc.

Returns:List<String>

the MIME type(s) of this format.

Annotations
@Override
getSignaturesback to summary
public List<ImageFormatDescription.Signature> getSignatures()

Implements com.sun.javafx.iio.ImageFormatDescription.getSignatures.

Doc from com.sun.javafx.iio.ImageFormatDescription.getSignatures.

Get the possible signatures which may appear at the beginning of the stream of an image stored in this format.

Returns:List<ImageFormatDescription.Signature>

the signatures of an image stream in this format.

Annotations
@Override