📄 smartupload.java
字号:
// JBuilder API Decompiler stub source generated from class file// 2006-3-21// -- implementation of methods is not availablepackage com.jspsmart.upload;// Importsimport java.io.IOException;import java.sql.ResultSet;import java.sql.SQLException;import java.util.Vector;import javax.servlet.ServletConfig;import javax.servlet.ServletContext;import javax.servlet.ServletException;import javax.servlet.http.HttpServletRequest;import javax.servlet.http.HttpServletResponse;import javax.servlet.http.HttpSession;import javax.servlet.jsp.JspWriter;import javax.servlet.jsp.PageContext;public class SmartUpload { // Fields protected byte[] m_binArray; protected HttpServletRequest m_request; protected HttpServletResponse m_response; protected ServletContext m_application; private int m_totalBytes; private int m_currentIndex; private int m_startData; private int m_endData; private String m_boundary; private long m_totalMaxFileSize; private long m_maxFileSize; private Vector m_deniedFilesList; private Vector m_allowedFilesList; private boolean m_denyPhysicalPath; private boolean m_forcePhysicalPath; private String m_contentDisposition; public static final int SAVE_AUTO = 0; public static final int SAVE_VIRTUAL = 1; public static final int SAVE_PHYSICAL = 2; private Files m_files; private Request m_formRequest; // Constructors public SmartUpload() { } // Methods public final void init(ServletConfig config) throws ServletException { } public void service(HttpServletRequest request, HttpServletResponse response) throws IOException, ServletException { } public final void initialize(ServletConfig config, HttpServletRequest request, HttpServletResponse response) throws ServletException { } public final void initialize(PageContext pageContext) throws ServletException { } public final void initialize(ServletContext application, HttpSession session, HttpServletRequest request, HttpServletResponse response, JspWriter out) throws ServletException { } public void upload() throws SmartUploadException, IOException, ServletException { } public int save(String destPathName) throws SmartUploadException, IOException, ServletException { return 0;} public int save(String destPathName, int option) throws SmartUploadException, IOException, ServletException { return 0;} public int getSize() { return 0;} public byte getBinaryData(int index) { return 0;} public Files getFiles() { return null;} public Request getRequest() { return null;} public void downloadFile(String sourceFilePathName) throws SmartUploadException, IOException, ServletException { } public void downloadFile(String sourceFilePathName, String contentType) throws SmartUploadException, IOException, ServletException { } public void downloadFile(String sourceFilePathName, String contentType, String destFileName) throws SmartUploadException, IOException, ServletException { } public void downloadFile(String sourceFilePathName, String contentType, String destFileName, int blockSize) throws SmartUploadException, IOException, ServletException { } public void downloadField(ResultSet rs, String columnName, String contentType, String destFileName) throws SQLException, IOException, ServletException { } public void fieldToFile(ResultSet rs, String columnName, String destFilePathName) throws SQLException, SmartUploadException, IOException, ServletException { } private String getDataFieldValue(String dataHeader, String fieldName) { return null;} private String getFileExt(String fileName) { return null;} private String getContentType(String dataHeader) { return null;} private String getTypeMIME(String ContentType) { return null;} private String getSubTypeMIME(String ContentType) { return null;} private String getContentDisp(String dataHeader) { return null;} private void getDataSection() { } private String getDataHeader() { return null;} private String getFileName(String filePathName) { return null;} public void setDeniedFilesList(String deniedFilesList) throws SQLException, IOException, ServletException { } public void setAllowedFilesList(String allowedFilesList) { } public void setDenyPhysicalPath(boolean deny) { } public void setForcePhysicalPath(boolean force) { } public void setContentDisposition(String contentDisposition) { } public void setTotalMaxFileSize(long totalMaxFileSize) { } public void setMaxFileSize(long maxFileSize) { } protected String getPhysicalPath(String filePathName, int option) throws IOException { return null;} public void uploadInFile(String destFilePathName) throws SmartUploadException, IOException { } private boolean isVirtual(String pathName) { return false;}}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -