java.lang.Object
fr.gouv.vitam.functional.administration.core.format.PronomParser

public class PronomParser extends Object
PronomParser parse the xml pronom file to get the info on file format
  • Method Details

    • getPronom

      public static List<FileFormatModel> getPronom(File xmlPronomFile) throws FileFormatException
      Parse the file Pronom and transform it to an ArrayNode
      Parameters:
      xmlPronomFile - pronom file
      Returns:
      : the list of file format as ArrayNode
      Throws:
      FileFormatException - if exception occurred when get pronom data