5 package org
.spirit
.util
;
7 import javax
.servlet
.http
.HttpServletRequest
;
10 * This is class is used by botverse.
11 * @author Berlin Brown
14 public interface BotListFileUploadType
{
17 * @return the maxMemorySize
19 public int getMaxMemorySize();
22 * @param maxMemorySize the maxMemorySize to set
24 public void setMaxMemorySize(int maxMemorySize
);
27 * @return the uploadDir
29 public String
getUploadDir();
32 * @param uploadDir the uploadDir to set
34 public void setUploadDir(String uploadDir
);
37 * @return the maxFileSize
39 public int getMaxFileSize();
42 * @param maxFileSize the maxFileSize to set
44 public void setMaxFileSize(int maxFileSize
);
47 * @return the fileUploadEnabled
49 public boolean isFileUploadEnabled();
52 * @param fileUploadEnabled the fileUploadEnabled to set
54 public void setFileUploadEnabled(boolean fileUploadEnabled
);
56 public int uploadFiles(HttpServletRequest request
) throws Exception
;