Package fr.gouv.vitam.functional.administration.core.format

# Class PronomParser

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 Summary

  Modifier and Type
  Method
  Description
  `static List<FileFormatModel>`
  `getPronom(File xmlPronomFile)`
  Parse the file Pronom and transform it to an ArrayNode

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## 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