jdk/src/java.base/share/classes/java/util/Properties.java
changeset 30789 9eca83469588
parent 29593 935cd82c2868
child 32108 aa5490a167ee
equal deleted inserted replaced
30788:ea573d35531a 30789:9eca83469588
    71  * the input/output stream is encoded in ISO 8859-1 character encoding.
    71  * the input/output stream is encoded in ISO 8859-1 character encoding.
    72  * Characters that cannot be directly represented in this encoding can be written using
    72  * Characters that cannot be directly represented in this encoding can be written using
    73  * Unicode escapes as defined in section 3.3 of
    73  * Unicode escapes as defined in section 3.3 of
    74  * <cite>The Java&trade; Language Specification</cite>;
    74  * <cite>The Java&trade; Language Specification</cite>;
    75  * only a single 'u' character is allowed in an escape
    75  * only a single 'u' character is allowed in an escape
    76  * sequence. The native2ascii tool can be used to convert property files to and
    76  * sequence.
    77  * from other character encodings.
       
    78  *
    77  *
    79  * <p> The {@link #loadFromXML(InputStream)} and {@link
    78  * <p> The {@link #loadFromXML(InputStream)} and {@link
    80  * #storeToXML(OutputStream, String, String)} methods load and store properties
    79  * #storeToXML(OutputStream, String, String)} methods load and store properties
    81  * in a simple XML format.  By default the UTF-8 character encoding is used,
    80  * in a simple XML format.  By default the UTF-8 character encoding is used,
    82  * however a specific encoding may be specified if required. Implementations
    81  * however a specific encoding may be specified if required. Implementations
   105  *    &lt;!ATTLIST entry key CDATA #REQUIRED&gt;
   104  *    &lt;!ATTLIST entry key CDATA #REQUIRED&gt;
   106  * </pre>
   105  * </pre>
   107  *
   106  *
   108  * <p>This class is thread-safe: multiple threads can share a single
   107  * <p>This class is thread-safe: multiple threads can share a single
   109  * <tt>Properties</tt> object without the need for external synchronization.
   108  * <tt>Properties</tt> object without the need for external synchronization.
   110  *
       
   111  * @see <a href="../../../technotes/tools/solaris/native2ascii.html">native2ascii tool for Solaris</a>
       
   112  * @see <a href="../../../technotes/tools/windows/native2ascii.html">native2ascii tool for Windows</a>
       
   113  *
   109  *
   114  * @author  Arthur van Hoff
   110  * @author  Arthur van Hoff
   115  * @author  Michael McCloskey
   111  * @author  Michael McCloskey
   116  * @author  Xueming Shen
   112  * @author  Xueming Shen
   117  * @since   1.0
   113  * @since   1.0