You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by "Oliver Heger (JIRA)" <ji...@apache.org> on 2007/02/13 22:00:12 UTC

[jira] Updated: (CONFIGURATION-249) save to URLs with a protocol other than "file:"

     [ https://issues.apache.org/jira/browse/CONFIGURATION-249?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Oliver Heger updated CONFIGURATION-249:
---------------------------------------

    Fix Version/s:     (was: 1.4)
                   1.5

> save to URLs with a protocol other than "file:"
> -----------------------------------------------
>
>                 Key: CONFIGURATION-249
>                 URL: https://issues.apache.org/jira/browse/CONFIGURATION-249
>             Project: Commons Configuration
>          Issue Type: Improvement
>    Affects Versions: 1.4
>            Reporter: Anselm Kruis
>            Priority: Minor
>             Fix For: 1.5
>
>
> Currently, the save(URL) method from AbstractFileConfiguration only supports "file:" URLs. 
> Why not support  writing to URLs too? It is as simple like this
> 				java.net.URLConnection connection = url.openConnection();
> 				connection.setDoOutput(true);
> 				connection.setDoInput(false);
> 				save(connection.getOutputStream());
> I could prepare a patch.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org