|
Re: URLConnection: msg#00047network.samba.java
Can the main branch SmbFile override its parent's ((URLConnection) getOutputStream just as it does override getInputStream? ---------- Forwarded message ---------- From: Navin Kumar <navin.kumar@xxxxxxxxx> Date: Thu, 23 Dec 2004 21:18:51 -0500 Subject: URLConnection To: jcifs@xxxxxxxxxxxxxxx I've had to alter the 1.1.5 source (thank god for open-source) to acheive what I thought would be basic... that is, (new URI(smbstring)).toURL().openConnection().getOutputStream(); unfortunately, SmbFile inheriting from abstract URLConnection does not override the "not supported - derived class has not overridden me" [paraphrased] exception thrown by URLConnection. It was simple to fix, copying the getInputStream method in jcifs.smb.SmbFile and s/InputStream/OutputStream/g fixes it. It's stable and works on my side (win2000 & linux) -- is there a way someone can put in this change or anyway I can merge it in? |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Your site is now linked to ours - please check link for accuracy: 00047, Data Management Resources |
|---|---|
| Next by Date: | Hung threads accessing domain controller: 00047, Christensen, Scott M |
| Previous by Thread: | Your site is now linked to ours - please check link for accuracyi: 00047, Data Management Resources |
| Next by Thread: | Re: URLConnection: 00047, Michael B Allen |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |