diff options
Diffstat (limited to 'libjava/classpath/javax/print/attribute/standard/PrinterInfo.java')
-rw-r--r-- | libjava/classpath/javax/print/attribute/standard/PrinterInfo.java | 24 |
1 files changed, 16 insertions, 8 deletions
diff --git a/libjava/classpath/javax/print/attribute/standard/PrinterInfo.java b/libjava/classpath/javax/print/attribute/standard/PrinterInfo.java index 66199c4821a..2cd496cf0c7 100644 --- a/libjava/classpath/javax/print/attribute/standard/PrinterInfo.java +++ b/libjava/classpath/javax/print/attribute/standard/PrinterInfo.java @@ -1,5 +1,5 @@ /* PrinterInfo.java -- - Copyright (C) 2004 Free Software Foundation, Inc. + Copyright (C) 2004, 2005 Free Software Foundation, Inc. This file is part of GNU Classpath. @@ -44,6 +44,12 @@ import javax.print.attribute.PrintServiceAttribute; import javax.print.attribute.TextSyntax; /** + * The <code>PrinterInfo</code> printing attribute provides + * informations about a printer device. + * <p> + * <b>IPP Compatibility:</b> PrinterInfo is an IPP 1.1 attribute. + * </p> + * * @author Michael Koch (konqueror@gmx.de) */ public final class PrinterInfo extends TextSyntax @@ -55,9 +61,10 @@ public final class PrinterInfo extends TextSyntax * Creates a <code>PrinterInfo</code> object. * * @param printerInfo the printer info - * @param locale the locale of the info, null means default locale + * @param locale the locale to use, if <code>null</code> the default + * locale is used. * - * @exception NullPointerException if printerInfo is null + * @exception NullPointerException if printerInfo is <code>null</code>. */ public PrinterInfo(String printerInfo, Locale locale) { @@ -65,11 +72,12 @@ public final class PrinterInfo extends TextSyntax } /** - * Tests of obj is equal to this object. + * Tests if the given object is equal to this object. * * @param obj the object to test * - * @return true if both objects are equal, false otherwise. + * @return <code>true</code> if both objects are equal, + * <code>false</code> otherwise. */ public boolean equals(Object obj) { @@ -82,7 +90,7 @@ public final class PrinterInfo extends TextSyntax /** * Returns category of this class. * - * @return the class <code>PrinterInfo</code> itself + * @return The class <code>PrinterInfo</code> itself. */ public Class getCategory() { @@ -90,9 +98,9 @@ public final class PrinterInfo extends TextSyntax } /** - * Returns name of this class. + * Returns the name of this attribute. * - * @return the string "printer-info" + * @return The name "printer-info". */ public String getName() { |