|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object hoplugins.commons.utils.RatingUtil
Utility for Rating Formatting
Method Summary | |
static java.lang.String |
getRating(int rating,
boolean showNumber,
boolean showText,
plugins.IHOMiniModel model)
Utility Method that returns a string representation of the rating |
static double |
getRating(java.lang.String desc,
boolean isNumeric,
boolean isDescription,
java.util.List skills)
Utility Method that returns a double representation of the rating |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public static java.lang.String getRating(int rating, boolean showNumber, boolean showText, plugins.IHOMiniModel model)
rating
- int value of the ratingshowNumber
- is the numberical representation being shownshowText
- is the textual representation being shownmodel
- IHOMinimodel
public static double getRating(java.lang.String desc, boolean isNumeric, boolean isDescription, java.util.List skills)
desc
- String representation of the ratingisNumeric
- Indicator if the string includes the numerical valueisDescription
- Indicator if the string includes the descriptionskills
- List of skills
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |