src/share/classes/javax/print/DocFlavor.java

Print this page

        

*** 379,389 **** * A carriage return (CR) character standing by itself means * "go to column 1 of the next line." * <LI> * A line feed (LF) character standing by itself means * "go to column 1 of the next line." - * <LI> * </UL> * <P> * The client must itself perform all plain text print data formatting not * addressed by the above requirements. * --- 379,388 ----
*** 434,444 **** * (a String object), rather than the representation class itself * (a Class object). This allows a client to examine the doc flavors a * Java Print Service instance supports without having * to load the representation classes, which may be problematic for * limited-resource clients. - * <P> * * @author Alan Kaminsky */ public class DocFlavor implements Serializable, Cloneable { --- 433,442 ----
*** 534,544 **** * parameter. * Mime types may include parameters which are usually optional. * The charset for text types is a commonly useful example. * This convenience method will return the value of the specified * parameter if one was specified in the mime type for this flavor. ! * <p> * @param paramName the name of the paramater. This name is internally * converted to the canonical lower case format before performing * the match. * @return String representing a mime parameter, or * null if that parameter is not in the mime type string. --- 532,542 ---- * parameter. * Mime types may include parameters which are usually optional. * The charset for text types is a commonly useful example. * This convenience method will return the value of the specified * parameter if one was specified in the mime type for this flavor. ! * * @param paramName the name of the paramater. This name is internally * converted to the canonical lower case format before performing * the match. * @return String representing a mime parameter, or * null if that parameter is not in the mime type string.
*** 637,647 **** /** * Class DocFlavor.BYTE_ARRAY provides predefined static constant * DocFlavor objects for example doc flavors using a byte array * (<CODE>byte[]</CODE>) as the print data representation class. - * <P> * * @author Alan Kaminsky */ public static class BYTE_ARRAY extends DocFlavor { --- 635,644 ----
*** 835,845 **** /** * Class DocFlavor.INPUT_STREAM provides predefined static constant * DocFlavor objects for example doc flavors using a byte stream ({@link * java.io.InputStream java.io.InputStream}) as the print * data representation class. - * <P> * * @author Alan Kaminsky */ public static class INPUT_STREAM extends DocFlavor { --- 832,841 ----
*** 1038,1048 **** * Class DocFlavor.URL provides predefined static constant DocFlavor * objects. * For example doc flavors using a Uniform Resource Locator ({@link * java.net.URL java.net.URL}) as the print data * representation class. - * <P> * * @author Alan Kaminsky */ public static class URL extends DocFlavor { private static final long serialVersionUID = 2936725788144902062L; --- 1034,1043 ----
*** 1228,1238 **** /** * Class DocFlavor.CHAR_ARRAY provides predefined static constant * DocFlavor objects for example doc flavors using a character array * (<CODE>char[]</CODE>) as the print data representation class. As such, * the character set is Unicode. - * <P> * * @author Alan Kaminsky */ public static class CHAR_ARRAY extends DocFlavor { --- 1223,1232 ----
*** 1278,1288 **** /** * Class DocFlavor.STRING provides predefined static constant DocFlavor * objects for example doc flavors using a string ({@link java.lang.String * java.lang.String}) as the print data representation class. * As such, the character set is Unicode. - * <P> * * @author Alan Kaminsky */ public static class STRING extends DocFlavor { --- 1272,1281 ----
*** 1326,1336 **** /** * Class DocFlavor.READER provides predefined static constant DocFlavor * objects for example doc flavors using a character stream ({@link * java.io.Reader java.io.Reader}) as the print data * representation class. As such, the character set is Unicode. - * <P> * * @author Alan Kaminsky */ public static class READER extends DocFlavor { --- 1319,1328 ----
*** 1375,1385 **** /** * Class DocFlavor.SERVICE_FORMATTED provides predefined static constant * DocFlavor objects for example doc flavors for service formatted print * data. - * <P> * * @author Alan Kaminsky */ public static class SERVICE_FORMATTED extends DocFlavor { --- 1367,1376 ----