com.jalios.jcms.stat.beautifier
Class BeautifierImage
java.lang.Object
com.jalios.util.Beautifier
com.jalios.jcms.stat.beautifier.BeautifierImage
- Direct Known Subclasses:
- BeautifierBrowser, BeautifierCountry, BeautifierLanguage, BeautifierOS
public class BeautifierImage
- extends Beautifier
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
REVISION
public static final String REVISION
- See Also:
- Constant Field Values
BeautifierImage
public BeautifierImage(int truncate)
getImage
public String getImage(String str,
String alt)
- Returns an IMG tag for the given image and alt.
If given file is doesn't exists then return null.
- Parameters:
str
- the image pathalt
- the alt image text
- Returns:
- String represents IMG tag
getLangImage
public String getLangImage(String lang)
- Returns image for the given lang.
- Parameters:
lang
- the lang to display
- Returns:
- String represents IMG tag
Copyright © 2001-2010 Jalios SA. All Rights Reserved.