jdk/src/share/classes/javax/print/DocFlavor.java
changeset 21278 ef8a3a2a72f2
parent 20451 4cedf4e1560a
child 22260 c9185e010e03
equal deleted inserted replaced
21277:bd380b80f9ea 21278:ef8a3a2a72f2
    93  * typically one of the following (although other representation classes are
    93  * typically one of the following (although other representation classes are
    94  * permitted):
    94  * permitted):
    95  * <UL>
    95  * <UL>
    96  * <LI>
    96  * <LI>
    97  * Character array (<CODE>char[]</CODE>) -- The print data consists of the
    97  * Character array (<CODE>char[]</CODE>) -- The print data consists of the
    98  * Unicde characters in the array.
    98  * Unicode characters in the array.
    99  * <P>
    99  * <P>
   100  * <LI>
   100  * <LI>
   101  * <code>String</code>  --
   101  * <code>String</code>  --
   102  * The print data consists of the Unicode characters in the string.
   102  * The print data consists of the Unicode characters in the string.
   103  * <P>
   103  * <P>
   161  * case may work without specifying the encoding of platform data.
   161  * case may work without specifying the encoding of platform data.
   162  * <p>
   162  * <p>
   163  * Every instance of the Java virtual machine has a default character encoding
   163  * Every instance of the Java virtual machine has a default character encoding
   164  * determined during virtual-machine startup and typically depends upon the
   164  * determined during virtual-machine startup and typically depends upon the
   165  * locale and charset being used by the underlying operating system.
   165  * locale and charset being used by the underlying operating system.
   166  * In a distributed environment there is no gurantee that two VM's share
   166  * In a distributed environment there is no guarantee that two VM share
   167  * the same default encoding. Thus clients which want to stream platform
   167  * the same default encoding. Thus clients which want to stream platform
   168  * encoded text data from the host platform to a Java Print Service instance
   168  * encoded text data from the host platform to a Java Print Service instance
   169  * must explicitly declare the charset and not rely on defaults.
   169  * must explicitly declare the charset and not rely on defaults.
   170  * <p>
   170  * <p>
   171  * The preferred form is the official IANA primary name for an encoding.
   171  * The preferred form is the official IANA primary name for an encoding.