Return-Path: Delivered-To: apmail-jakarta-commons-user-archive@www.apache.org Received: (qmail 69652 invoked from network); 25 Nov 2004 04:39:47 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 25 Nov 2004 04:39:47 -0000 Received: (qmail 18340 invoked by uid 500); 25 Nov 2004 04:39:41 -0000 Delivered-To: apmail-jakarta-commons-user-archive@jakarta.apache.org Received: (qmail 18299 invoked by uid 500); 25 Nov 2004 04:39:40 -0000 Mailing-List: contact commons-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Jakarta Commons Users List" Reply-To: "Jakarta Commons Users List" Delivered-To: mailing list commons-user@jakarta.apache.org Received: (qmail 88343 invoked by uid 99); 25 Nov 2004 04:14:14 -0000 X-ASF-Spam-Status: No, hits=0.2 required=10.0 tests=HTML_40_50,HTML_MESSAGE,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: domain of jasonpolites@tpg.com.au designates 203.12.160.101 as permitted sender) Message-ID: <001401c4d2a5$135f8380$0400a8c0@base2000> Reply-To: "Jason Polites" From: "Jason Polites" To: Subject: [FileUpload] Cannot extend DefaultFileItem Date: Thu, 25 Nov 2004 15:13:10 +1100 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0011_01C4D301.46709D70" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.2180 X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 X-TPG-Antivirus: Passed X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N ------=_NextPart_000_0011_01C4D301.46709D70 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable I am wanting to implement my own FileItem class which is really an = extension of the DefaultFileItem but with the added feature of creating = (and providing access to) a physical file on the server with the same = name as the one uploaded. However, I can't extend the DefaultFileItem = class because its constructor does not have an access modifier and = therefore is not visible to extending classes outside the = org.apache.commons.fileupload package. I don't want to re-implement all = the code in the DefaultFileItem, but I can't seen any other way. Is there a reason this class was created to prevent it from ever being = extended? Please advise. ------=_NextPart_000_0011_01C4D301.46709D70--