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()
ImageFormatDescription
getFormatName
in interface ImageFormatDescription
public List<String> getExtensions()
ImageFormatDescription
getExtensions
in interface ImageFormatDescription
public List<ImageFormatDescription.Signature> getSignatures()
ImageFormatDescription
getSignatures
in interface ImageFormatDescription
Copyright © 2020. All rights reserved.