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