Class PronomParser
- java.lang.Object
-
- fr.gouv.vitam.functional.administration.format.core.PronomParser
-
public class PronomParser extends java.lang.Object
PronomParser parse the xml pronom file to get the info on file format
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.util.List<FileFormatModel>
getPronom(java.io.File xmlPronomFile)
Parse the file Pronom and transform it to an ArrayNode
-
-
-
Method Detail
-
getPronom
public static java.util.List<FileFormatModel> getPronom(java.io.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
-
-