Details
-
Improvement
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
1.4
-
None
-
None
Description
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.