On 4/12/06, Stephen Colebourne <[EMAIL PROTECTED]> wrote: > > Martin Cooper wrote: > >>The point is not that this code is onerous, but that it is knowledge > >>about fileuploading that we have not encapsulated in [fileupload]. > > > > Because it was specifically not intended to be addressed by FileUpload. > > But that doesn't answer why it can't.
Should I be quoting examples of where people have suggested enhancements to Commons IO that you have claimed are out of scope for that component? I seem to remember essentially the same discussion coming up there. Certain methods _could_ be added, but were not. Why? -- Martin Cooper This is a component to assist with > file uploading. This is a known problem with file uploading. It comes up > reapeatedly in user queries. Surely this points to a missing method. > > Is the problem the fact that FileItem is an interface and thus can't be > changed? > > >> As a user of [fileupload] I should be presented with the fact that I > >>have to make a choice in the API. At the very least, the javadoc for > >>getName() should provide a full description of the problem. > > You mean like this? > > > http://jakarta.apache.org/commons/fileupload/apidocs/org/apache/commons/fileupload/FileItem.html#getName() > > Yes. I looked in the disk package, where the text isn't present. > > Stephen > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > >