Class QuestionHelper

java.lang.Object
org.silverpeas.components.quizz.QuestionHelper

public class QuestionHelper extends Object
Author:
ehugonnet
  • Method Details

    • isCorrectFile

      public static boolean isCorrectFile(org.silverpeas.core.util.file.FileItem filePart)
    • extractAnswer

      public static List<org.silverpeas.core.questioncontainer.answer.model.Answer> extractAnswer(List<org.silverpeas.core.util.file.FileItem> items, QuestionForm form, String componentId, String subdir) throws IOException
      Throws:
      IOException
    • addImageToAnswer

      protected static void addImageToAnswer(org.silverpeas.core.questioncontainer.answer.model.Answer answer, org.silverpeas.core.util.file.FileItem item, QuestionForm form, String componentId, String subdir) throws IOException
      Throws:
      IOException