2006/unicorn/src/org/w3c/unicorn/input UploadInputModule.java,1.2,1.3

Update of /sources/public/2006/unicorn/src/org/w3c/unicorn/input
In directory hutz:/tmp/cvs-serv4610/src/org/w3c/unicorn/input

Modified Files:
	UploadInputModule.java 
Log Message:
Fixed MimeType issue with file upload (guessContentFromName() couldn't find the mimetype of a .css file)
Also fixed command line client

Index: UploadInputModule.java
===================================================================
RCS file: /sources/public/2006/unicorn/src/org/w3c/unicorn/input/UploadInputModule.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- UploadInputModule.java	28 Aug 2009 12:40:04 -0000	1.2
+++ UploadInputModule.java	4 Sep 2009 15:49:48 -0000	1.3
@@ -7,6 +7,8 @@
 import java.io.IOException;
 import java.io.InputStream;
 
+import javax.activation.MimeType;
+
 import org.w3c.unicorn.contract.EnumInputMethod;
 
 /**
@@ -21,5 +23,7 @@
 	public String getFileName();
 
 	public InputStream getInputStream() throws IOException;
+	
+	public MimeType getMimeType();
 
 }

Received on Friday, 4 September 2009 15:50:00 UTC