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.String sumUpConfrontation​(boolean isHtml, int num, Confrontation confrontation)
    Give the sum up of the confrontation on a text
    static java.lang.String sumUpTournoi​(boolean isHtml, Tournoi tournoi)
    Give the sum up of the tournament on a text
    static java.lang.String tournoi​(boolean isHtml, Tournoi tournoi)
    Give the configuration of the tournament on a text

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

  • Method Details

    • tournoi

      public static java.lang.String tournoi​(boolean isHtml, Tournoi 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

      public static java.lang.String sumUpTournoi​(boolean isHtml, Tournoi tournoi)
      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 confrontation
      Confrontation - Confrontation where the sum up is needed
      Returns:
      String A text with the sum up
      Since:
      3.0