public class ImageDescriptionCreator extends Object
| Modifier | Constructor | Description |
|---|---|---|
private |
ImageDescriptionCreator() |
| Modifier and Type | Method | Description |
|---|---|---|
private static String |
formatNumber(long value,
Locale locale) |
|
static String |
getDescription(PixelImage image,
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) |
public static String getDescription(PixelImage image, 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)