public class ImageDescriptor extends java.lang.Object implements ImageFormatDescription
ImageFormatDescription.Signature| Modifier and Type | Field and Description |
|---|---|
private java.util.List<java.lang.String> |
extensions |
private java.lang.String |
formatName |
private java.util.List<ImageFormatDescription.Signature> |
signatures |
| Constructor and Description |
|---|
ImageDescriptor(java.lang.String formatName,
java.lang.String[] extensions,
ImageFormatDescription.Signature[] signatures) |
| Modifier and Type | Method and Description |
|---|---|
java.util.List<java.lang.String> |
getExtensions()
Get the extension(s) used for a file stored in this format, preferably in
lower case.
|
java.lang.String |
getFormatName()
Get the name of the format, for example "JPEG," "PNG," and so on,
preferably in upper case.
|
java.util.List<ImageFormatDescription.Signature> |
getSignatures()
Get the possible signatures which may appear at the beginning of
the stream of an image stored in this format.
|
private final java.lang.String formatName
private final java.util.List<java.lang.String> extensions
private final java.util.List<ImageFormatDescription.Signature> signatures
public ImageDescriptor(java.lang.String formatName,
java.lang.String[] extensions,
ImageFormatDescription.Signature[] signatures)
public java.lang.String getFormatName()
ImageFormatDescriptiongetFormatName in interface ImageFormatDescriptionpublic java.util.List<java.lang.String> getExtensions()
ImageFormatDescriptiongetExtensions in interface ImageFormatDescriptionpublic java.util.List<ImageFormatDescription.Signature> getSignatures()
ImageFormatDescriptiongetSignatures in interface ImageFormatDescription