com.opensymphony.xwork2.conversion.impl

## Class DefaultConversionFileProcessor

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

- All Implemented Interfaces:
    ConversionFileProcessor

      public class DefaultConversionFileProcessor
      extends Object
      implements ConversionFileProcessor

  Default implementation of `ConversionFileProcessor`

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `DefaultConversionFileProcessor()`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `process(Map<String,Object> mapping, Class clazz, String converterFilename)` Process conversion file to create mapping for key (property, type) and corresponding converter
    `void` | `setFileManagerFactory(FileManagerFactory factory)`
    `void` | `setTypeConverterCreator(TypeConverterCreator converterCreator)`

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

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

- - ### Constructor Detail

    - #### DefaultConversionFileProcessor

          public DefaultConversionFileProcessor()

  - ### Method Detail

    - #### setFileManagerFactory

          public void setFileManagerFactory(FileManagerFactory factory)

    - #### setTypeConverterCreator

          public void setTypeConverterCreator(TypeConverterCreator converterCreator)

    - #### process

          public void process(Map<String,Object> mapping,
                     Class clazz,
                     String converterFilename)

      Description copied from interface: `ConversionFileProcessor`
      Process conversion file to create mapping for key (property, type) and corresponding converter
      Specified by:
        `process` in interface `ConversionFileProcessor`
      Parameters:
        `mapping` - keeps converters per given key
        `clazz` - class which should be converted by the converter
        `converterFilename` - to read converters from

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