📄 tasks.html
字号:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html><head><title>TODO - FileUpload</title><style type="text/css" media="all"> @import url("./style/maven-base.css"); @import url("./style/maven-theme.css");@import url("./style/project.css");</style><link rel="stylesheet" href="./style/print.css" type="text/css" media="print"></link><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"></meta><meta name="author" content="Robert Burrell Donkin"></meta><meta name="email" content="rdonkin@apache.org"></meta></head><body class="composite"><div id="banner"><a href="http://jakarta.apache.org" id="organizationLogo"><img alt="The Apache Software Foundation" src="http://jakarta.apache.org/images/original-jakarta-logo.gif"></img></a><a href="http://jakarta.apache.org/commons/fileupload/" id="projectLogo"><img alt="FileUpload" src="./images/logo.png"></img></a><div class="clear"><hr></hr></div></div><div id="breadcrumbs"><div class="xleft">Last published: 08 June 2006 <span class="separator">|</span>燚oc for 1.1.1 </div><div class="xright"> <a href="http://jakarta.apache.org/commons/" class="externalLink" title="External Link">Jakarta Commons</a> </div><div class="clear"><hr></hr></div></div><div id="leftColumn"><div id="navcolumn"><div id="menuCommons_FileUpload"><h5>Commons FileUpload</h5><ul><li class="none"><a href="index.html">Overview</a></li><li class="none"><a href="using.html">User guide</a></li><li class="none"><a href="faq.html">FAQ</a></li><li class="none"><a href="apidocs/index.html">Javadoc</a></li><li class="none"><a href="mail-lists.html">Mailing lists</a></li><li class="none"><a href="team-list.html">Team</a></li><li class="none"><strong><a href="tasks.html">Tasks</a></strong></li><li class="none"><a href="cvs-usage.html">SVN repository</a></li></ul></div><div id="menuProject_Documentation"><h5>Project Documentation</h5><ul><li class="none"><a href="index.html">About</a></li><li class="collapsed"><a href="project-info.html">Project Info</a></li><li class="collapsed"><a href="maven-reports.html">Project Reports</a></li><li class="none"><a href="http://jakarta.apache.org/commons/charter.html" class="externalLink" title="External Link">Development Process</a></li></ul></div><div id="menuCommons"><h5>Commons</h5><ul><li class="none"><a href="http://jakarta.apache.org/commons/" class="externalLink" title="External Link">Home</a></li><li class="collapsed"><a href="http://jakarta.apache.org/commons/components.html" class="externalLink" title="External Link">Components</a></li><li class="collapsed"><a href="http://jakarta.apache.org/commons/sandbox/index.html" class="externalLink" title="External Link">Sandbox</a></li><li class="collapsed"><a href="http://jakarta.apache.org/commons/dormant/index.html" class="externalLink" title="External Link">Dormant</a></li><li class="none"><a href="http://jakarta.apache.org/commons/volunteering.html" class="externalLink" title="External Link">Volunteering</a></li><li class="none"><a href="http://jakarta.apache.org/commons/patches.html" class="externalLink" title="External Link">Contributing Patches</a></li><li class="none"><a href="http://jakarta.apache.org/commons/building.html" class="externalLink" title="External Link">Building Components</a></li><li class="none"><a href="http://jakarta.apache.org/commons/releases/index.html" class="externalLink" title="External Link">Releasing Components</a></li><li class="none"><a href="http://wiki.apache.org/jakarta-commons/FrontPage" class="externalLink" title="External Link">Wiki</a></li></ul></div><div id="legend"><h5>Legend</h5><ul><li class="externalLink">External Link</li><li class="newWindow">Opens in a new window</li></ul></div><a href="http://maven.apache.org/" title="Built by Maven" id="poweredBy"><img alt="Built by Maven" src="./images/logos/maven-feather.png"></img></a></div></div><div id="bodyColumn"><div class="contentBox"><div class="section"><a name="TODO_list"></a><h2>TODO list</h2> <p> The following is a list of items that need to be completed in Fileupload. Contributions are welcome! </p> <div class="subsection"><a name="High_priority"></a><h3>High priority</h3> </div> <div class="subsection"><a name="Medium_priority"></a><h3>Medium priority</h3> <ul> <li> <strong>Additional unit tests</strong> to increase code coverage. </li> <li> <strong>Documentation</strong> for the customization capabilities. </li> </ul> </div> <div class="subsection"><a name="Low_priority"></a><h3>Low priority</h3> </div> </div><div class="section"><a name="Completed"></a><h2>Completed</h2> <div class="subsection"><a name="Since_1_0_Beta_1_Release"></a><h3>Since 1.0 Beta 1 Release</h3> <ul> <li> Split the <code>FileUpload</code> class into an abstract base class and two concrete classes, one of which is specific to a disk-based repository and the other a more generic implementation. </li> <li> Replaced the ad hoc <code>newInstance()</code> means of creating <code>FileItem</code> instances with a factory-based scheme for much greater flexibility and simpler customization. This change also eliminates a dependency on Commons BeanUtils. </li> <li> Change the semantics of the size threshold to apply to the size of individual items, instead of the size of the overall request. This is in line with the original documentation, and better meets user expectations. </li> <li> Added unit tests for exceptional conditions, and to test new functionality. </li> </ul> </div> </div><div class="section"><a name="Deprecated"></a><h2>Deprecated</h2> <div class="subsection"><a name="Since_1_0_Beta_1_Release"></a><h3>Since 1.0 Beta 1 Release</h3> <ul> <li> In the <code>FileItem</code> interface, the <code>setIsFormField()</code> method has been replaced by the <code>setFormField()</code> method. </li> <li> In the <code>FileItem</code> interface, the <code>write(String)</code> method has been replaced by the <code>write(File)</code> method. </li> <li> The <code>sizeThreshold</code> property of the <code>FileUpload</code> class has been moved to the <code>DiskFileUpload</code> class. </li> <li> The <code>repositoryPath</code> property of the <code>FileUpload</code> class has been moved to the <code>DiskFileUpload</code> class. </li> <li> The disk-specific <code>parseRequest()</code> method of the <code>FileUpload</code> class has been moved to the <code>DiskFileUpload</code> class. </li> </ul> </div> </div><div class="section"><a name="Backwards_Incompatible_Changes"></a><h2>Backwards Incompatible Changes</h2> <div class="subsection"><a name="Since_1_0_Beta_1"></a><h3>Since 1.0 Beta 1</h3> <ul> <li> <code>FileItem.newInstance()</code> has been replaced by the use of factories to create new <code>FileItem</code> instances. </li> <li> The <code>storeLocation</code> property of the <code>FileItem</code> interface has been removed, since it is (disk-based) implementation specific. </li> </ul> </div> </div><div class="section"><a name="Semantic_Changes"></a><h2>Semantic Changes</h2> <div class="subsection"><a name="Since_1_0_Beta_1"></a><h3>Since 1.0 Beta 1</h3> <ul> <li> The <code>sizeThreshold</code> property now applies to the size of each item, rather than the size of the request as a whole. This is more in keeping which user expectations, as well as matching the original documentation. </li> </ul> </div> </div></div></div><div class="clear"><hr></hr></div><div id="footer"><div class="xright">
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -