All Downloads are FREE. Search and download functionalities are using the official Maven repository.

jodd.upload.JoddUpload Maven / Gradle / Ivy

There is a newer version: 4.2.0
Show newest version
// Copyright (c) 2003-2014, Jodd Team (jodd.org). All Rights Reserved.

package jodd.upload;

import jodd.Jodd;
import jodd.JoddModule;
import jodd.upload.typeconverter.FileUploadBinder;

/**
 * Jodd UPLOAD module.
 */
public class JoddUpload implements JoddModule {

	// ---------------------------------------------------------------- module

	static {
		init();
	}

	public static void init() {
		Jodd.init(JoddUpload.class);
	}

	public void start() {
		if (Jodd.isModuleLoaded(Jodd.BEAN)) {
			FileUploadBinder.registerTypeConverter();
		}
	}

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy