commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Martin Cooper" <>
Subject Re: [fileupload] FileItem.getName() IE prefix
Date Thu, 13 Apr 2006 05:55:37 GMT
On 4/12/06, Stephen Colebourne <> 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?
> >
> Yes. I looked in the disk package, where the text isn't present.
> Stephen
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> For additional commands, e-mail:

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