Class AnnotationUtils


  • public class AnnotationUtils
    extends java.lang.Object
    This class contains utilities for dealing with tika annotations
    Since:
    Apache Tika 1.14
    • Constructor Summary

      Constructors 
      Constructor Description
      AnnotationUtils()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static void assignFieldParams​(java.lang.Object bean, java.util.Map<java.lang.String,​Param> params)
      Assigns the param values to bean
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • AnnotationUtils

        public AnnotationUtils()
    • Method Detail

      • assignFieldParams

        public static void assignFieldParams​(java.lang.Object bean,
                                             java.util.Map<java.lang.String,​Param> params)
                                      throws TikaConfigException
        Assigns the param values to bean
        Throws:
        TikaConfigException - when an error occurs while assigning params