Package jodd.typeconverter

Examples of jodd.typeconverter.TypeConverterManagerBean


  /**
   * Registers type converters.
   */
  public static void registerTypeConverter() {
    TypeConverterManagerBean typeConverterManagerBean = TypeConverterManager.getDefaultTypeConverterManager();

    typeConverterManagerBean.register(FileUpload.class, new FileUploadConverter());

    FileConverter fileConverter = (FileConverter) typeConverterManagerBean.lookup(File.class);

    fileConverter.registerAddonConverter(new FileUploadToFileTypeConverter());
  }
View Full Code Here

TOP

Related Classes of jodd.typeconverter.TypeConverterManagerBean

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.