commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Anselm Kruis (JIRA)" <j...@apache.org>
Subject [jira] Created: (CONFIGURATION-249) save to URLs with a protocol other than "file:"
Date Fri, 19 Jan 2007 23:53:29 GMT
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.4


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.
-
If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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


Mime
View raw message