commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Martin Cooper" <mart...@apache.org>
Subject Re: [fileupload] FileItem.getName() IE prefix
Date Thu, 13 Apr 2006 05:55:37 GMT
On 4/12/06, Stephen Colebourne <scolebourne@btopenworld.com> 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: commons-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: commons-dev-help@jakarta.apache.org
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message