com.opensymphony.xwork2.conversion.impl

## Class DefaultConversionPropertiesProcessor

- java.lang.Object
- - com.opensymphony.xwork2.conversion.impl.DefaultConversionPropertiesProcessor

- All Implemented Interfaces:
    ConversionPropertiesProcessor, EarlyInitializable, Initializable

      public class DefaultConversionPropertiesProcessor
      extends Object
      implements ConversionPropertiesProcessor, EarlyInitializable

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `DefaultConversionPropertiesProcessor()`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `init()` Use this method to initialise your bean, the whole dependency graph was already built
    `void` | `loadConversionProperties(String propsName, boolean require)`
    `void` | `process(String propsName)` Process given property to load converters as not required (Properties file doesn't have to exist)
    `void` | `processRequired(String propsName)` Process given property to load converters as required (Properties file must exist)
    `void` | `setTypeConverterCreator(TypeConverterCreator converterCreator)`
    `void` | `setTypeConverterHolder(TypeConverterHolder converterHolder)`

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

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

- - ### Constructor Detail

    - #### DefaultConversionPropertiesProcessor

          public DefaultConversionPropertiesProcessor()

  - ### Method Detail

    - #### setTypeConverterCreator

          public void setTypeConverterCreator(TypeConverterCreator converterCreator)

    - #### setTypeConverterHolder

          public void setTypeConverterHolder(TypeConverterHolder converterHolder)

    - #### init

          public void init()

      Description copied from interface: `Initializable`
      Use this method to initialise your bean, the whole dependency graph was already built
      Specified by:
        `init` in interface `Initializable`

    - #### process

          public void process(String propsName)

      Description copied from interface: `ConversionPropertiesProcessor`
      Process given property to load converters as not required (Properties file doesn't have to exist)
      Specified by:
        `process` in interface `ConversionPropertiesProcessor`
      Parameters:
        `propsName` - Properties file name

    - #### processRequired

          public void processRequired(String propsName)

      Description copied from interface: `ConversionPropertiesProcessor`
      Process given property to load converters as required (Properties file must exist)
      Specified by:
        `processRequired` in interface `ConversionPropertiesProcessor`
      Parameters:
        `propsName` - Properties file name

    - #### loadConversionProperties

          public void loadConversionProperties(String propsName,
                                      boolean require)

Copyright © 2000–2021 Apache Software Foundation. All rights reserved.