Class 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
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 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