KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > jodd > servlet > upload > FileUploadFactory


1 // Copyright (c) 2003-2007, Jodd Team (jodd.sf.net). All Rights Reserved.
2

3 package jodd.servlet.upload;
4
5 /**
6  * {@link FileUpload} factory for handling uploaded files. Implementations may
7  * handle uploaded files differently: to store them to memory, directly to disk
8  * or something else.
9  * @see jodd.servlet.upload.impl
10  */

11 public interface FileUploadFactory {
12
13     /**
14      * Creates new instance of uploaded file ({@link FileUpload}.
15      */

16     public FileUpload create(MultipartRequestInputStream input);
17 }
Popular Tags