import java.io.File;
import java.io.InputStream;
+import java.io.OutputStream;
public interface UploadedFile {
/**
public void writeToFile(File aFile) throws SessionExc, SessionFailure;
/**
+ * Writes the uploaded content to a file
+ */
+ public void writeToStream(OutputStream aStream) throws SessionExc, SessionFailure;
+
+ /**
* Creates an <code>InputStream</code> to access the uploaded content
*/
public InputStream getInputStream() throws SessionExc, SessionFailure;