| 1 | |
|
| 2 | |
|
| 3 | |
|
| 4 | |
|
| 5 | |
|
| 6 | |
|
| 7 | |
|
| 8 | |
|
| 9 | |
|
| 10 | |
|
| 11 | |
|
| 12 | |
|
| 13 | |
|
| 14 | |
|
| 15 | |
|
| 16 | |
package org.kuali.rice.kns.web.struts.form; |
| 17 | |
|
| 18 | |
import org.apache.struts.upload.FormFile; |
| 19 | |
|
| 20 | |
import java.io.FileNotFoundException; |
| 21 | |
import java.io.IOException; |
| 22 | |
import java.io.InputStream; |
| 23 | |
import java.io.Serializable; |
| 24 | |
|
| 25 | |
|
| 26 | |
|
| 27 | |
|
| 28 | |
|
| 29 | |
|
| 30 | 0 | public class BlankFormFile implements FormFile, Serializable { |
| 31 | |
public void destroy() { |
| 32 | 0 | } |
| 33 | |
|
| 34 | |
public String getContentType() { |
| 35 | 0 | throw new UnsupportedOperationException(); |
| 36 | |
} |
| 37 | |
|
| 38 | |
public byte[] getFileData() throws FileNotFoundException, IOException { |
| 39 | 0 | throw new UnsupportedOperationException(); |
| 40 | |
} |
| 41 | |
|
| 42 | |
public String getFileName() { |
| 43 | 0 | return ""; |
| 44 | |
} |
| 45 | |
|
| 46 | |
public int getFileSize() { |
| 47 | 0 | return 0; |
| 48 | |
} |
| 49 | |
|
| 50 | |
public InputStream getInputStream() throws FileNotFoundException, IOException { |
| 51 | 0 | throw new UnsupportedOperationException(); |
| 52 | |
} |
| 53 | |
|
| 54 | |
public void setContentType(String contentType) { |
| 55 | 0 | throw new UnsupportedOperationException(); |
| 56 | |
} |
| 57 | |
|
| 58 | |
public void setFileName(String fileName) { |
| 59 | 0 | throw new UnsupportedOperationException(); |
| 60 | |
} |
| 61 | |
|
| 62 | |
public void setFileSize(int fileSize) { |
| 63 | 0 | throw new UnsupportedOperationException(); |
| 64 | |
} |
| 65 | |
} |