Package fr.uga.miage.pc.dilemme.back
Class StringHelper
java.lang.Object
fr.uga.miage.pc.dilemme.back.StringHelper
public final class StringHelper
extends java.lang.Object
- Since:
- 3.0
-
Constructor Summary
Constructors Constructor Description StringHelper() -
Method Summary
Modifier and Type Method Description static java.lang.StringsumUpConfrontation(boolean isHtml, int num, Confrontation confrontation)Give the sum up of the confrontation on a textstatic java.lang.StringsumUpTournoi(boolean isHtml, Tournoi tournoi)Give the sum up of the tournament on a textstatic java.lang.Stringtournoi(boolean isHtml, Tournoi tournoi)Give the configuration of the tournament on a text
-
Constructor Details
-
StringHelper
public StringHelper()
-
-
Method Details
-
tournoi
Give the configuration of the tournament on a text- Parameters:
tournoi- Tournoi where the text is needed- Returns:
- String A text with the configuration of the tournament
- Since:
- 3.0
-
sumUpTournoi
Give the sum up of the tournament on a text- Parameters:
tournoi- Tournoi where the sum up is needed- Returns:
- String A text with the sum up
- Since:
- 3.0
-
sumUpConfrontation
public static java.lang.String sumUpConfrontation(boolean isHtml, int num, Confrontation confrontation)Give the sum up of the confrontation on a text- Parameters:
num- the number of the confrontationConfrontation- Confrontation where the sum up is needed- Returns:
- String A text with the sum up
- Since:
- 3.0
-