Class AbstractSilverpeasFileProcessor

    • Constructor Detail

      • AbstractSilverpeasFileProcessor

        public AbstractSilverpeasFileProcessor()
    • Method Detail

      • init

        public void init()
        Registers itself among the SilverpeasFileFactory instance. If overridden, don't forget to invoke before super.init() otherwise you wont encounter the expected behaviour.
        Specified by:
        init in interface Initialization
      • getPriority

        public int getPriority()
        Description copied from interface: SilverpeasFileProcessor
        Gets the priority that permits to sort the processor list to execute.
        The more the value of the priority is high, the more the processor is executed first.
        The chained execution of processors that have the same priority could be known.
        By default, the priority is set to 50.
        Specified by:
        getPriority in interface Initialization
        Specified by:
        getPriority in interface SilverpeasFileProcessor
        Returns:
        the priority value.