public static String getLabel(final int _unread,
                                  final int _read)
        throws CacheReloadException
    {
        final StringBuilder ret = new StringBuilder()
                        .append("<span")
                        .append(_unread > 0 ? "class=\"unread\"" : "").append(">")
                        .append(String.format(Command.get(SetMessageStatusBehavior.getCmdUUD()).getLabelProperty(),
                                        _unread, _read))
                        .append("</span>");
        return ret.toString();
    }
public static String getLabel ( final int _unread , final int _read ) throws CacheReloadException { final StringBuilder ret = new StringBuilder ( ) . append ( "<span" ) . append ( _unread > 0 ? "class=\"unread\"" : "" ) . append ( ">" ) . append ( String . format ( Command . get ( SetMessageStatusBehavior . getCmdUUD ( ) ) . getLabelProperty ( ) , _unread , _read ) ) . append ( "</span>" ) ; return ret . toString ( ) ; }
@param _unread unread messages
@param _read read messages
@return string
@throws CacheReloadException on error