You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Anton Ivanov (JIRA)" <ji...@apache.org> on 2006/06/06 11:28:31 UTC

[jira] Updated: (HARMONY-563) Java 5 Enhancement: java.util.Properties should implement methods loadFromXML, storeToXML.

     [ http://issues.apache.org/jira/browse/HARMONY-563?page=all ]

Anton Ivanov updated HARMONY-563:
---------------------------------

    Attachment: properties.xml.support.implemented.diff
                properties.tests.for.xml.support.implemented.diff
                InvalidPropertiesFormatException.java

Here are patch for java.util.Properties, patch for tests and InvalidPropertiesFormatException class implementation.
Methods storeToXML(InputStream, String), loadFromXML(InputStream) are implemented, storeToXML(InputStream, String, String) is implemeted but encoding parameter is not supported.

class java.nio.charset.Charset needs to be implemented in Harmony for support of String encoding parameter of method storeToXML(InputStream, String, String), UTF-8 is used as default encoding and encoding parameter is ignored. 

> Java 5 Enhancement: java.util.Properties should implement methods loadFromXML, storeToXML.
> ------------------------------------------------------------------------------------------
>
>          Key: HARMONY-563
>          URL: http://issues.apache.org/jira/browse/HARMONY-563
>      Project: Harmony
>         Type: Bug

>   Components: Classlib
>     Reporter: Anton Ivanov
>     Priority: Minor
>  Attachments: InvalidPropertiesFormatException.java, properties.tests.for.xml.support.implemented.diff, properties.xml.support.implemented.diff
>
> XML support is not implemented in java.util.Properties: Java 1.5 methods loadFromXML, storeToXML.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira