public class ImageDescriptionCreator
extends java.lang.Object
Modifier | Constructor and Description |
---|---|
private |
ImageDescriptionCreator() |
Modifier and Type | Method and Description |
---|---|
private static java.lang.String |
formatNumber(long value,
java.util.Locale locale) |
static java.lang.String |
getDescription(PixelImage image,
java.util.Locale locale,
Strings strings)
Returns a description of the argument image using the language
as specified by the argument locale's two-letter language code.
|
private static int |
getImageType(PixelImage image) |
private static java.lang.String formatNumber(long value, java.util.Locale locale)
public static java.lang.String getDescription(PixelImage image, java.util.Locale locale, Strings strings)
image
- the image for which a textual description is to be returnedlocale
- the Locale storing the natural language to be used for formattingprivate static int getImageType(PixelImage image)