net.sourceforge.jiu.apps
Class ImageDescriptionCreator
java.lang.Object
net.sourceforge.jiu.apps.ImageDescriptionCreator
public class ImageDescriptionCreator
extends java.lang.Object
Returns textual descriptions of the properties of JIU image objects.
ImageDescriptionCreator
private ImageDescriptionCreator()
formatNumber
private static String formatNumber(long value,
Locale locale)
getDescription
public 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.
image
- the image for which a textual description is to be returnedlocale
- the Locale storing the natural language to be used for formatting
- a textual description of the image
getImageType
private static int getImageType(PixelImage image)