public class BeautifierImage extends Beautifier
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
REVISION |
html, locale, truncate
Constructor and Description |
---|
BeautifierImage(int truncate) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getImage(java.lang.String str,
java.lang.String alt)
Returns an IMG tag for the given image and alt.
|
java.lang.String |
getLangImage(java.lang.String lang)
Returns image for the given lang.
|
public static final java.lang.String REVISION
public java.lang.String getImage(java.lang.String str, java.lang.String alt)
str
- the image pathalt
- the alt image textpublic java.lang.String getLangImage(java.lang.String lang)
lang
- the lang to displayCopyright © 2001-2010 Jalios SA. All Rights Reserved.