diff options
Diffstat (limited to 'gnu/javax/print/ipp/attribute/printer/DocumentFormat.java')
-rw-r--r-- | gnu/javax/print/ipp/attribute/printer/DocumentFormat.java | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/gnu/javax/print/ipp/attribute/printer/DocumentFormat.java b/gnu/javax/print/ipp/attribute/printer/DocumentFormat.java index e9abab464..d44910a50 100644 --- a/gnu/javax/print/ipp/attribute/printer/DocumentFormat.java +++ b/gnu/javax/print/ipp/attribute/printer/DocumentFormat.java @@ -1,4 +1,4 @@ -/* DocumentFormat.java -- +/* DocumentFormat.java -- Copyright (C) 2006 Free Software Foundation, Inc. This file is part of GNU Classpath. @@ -47,15 +47,15 @@ import javax.print.attribute.TextSyntax; /** * <code>DocumentFormatSupported</code> specifies the supported document * formats of a printer. Printer are supplying a set of this attribute. - * + * * @author Wolfgang Baer (WBaer@gmx.de) */ -public final class DocumentFormat extends TextSyntax +public final class DocumentFormat extends TextSyntax implements SupportedValuesAttribute { /** - * Creates a <code>DocumentFormat</code> object with the + * Creates a <code>DocumentFormat</code> object with the * given value and locale. * * @param value the value for this syntax @@ -68,12 +68,12 @@ public final class DocumentFormat extends TextSyntax { super(value, locale); } - + /** * Constructs a document format object for the given flavor. * The constructor reworkes the mimetype of the given flavor * to remove the quoted charset parameter if present. - * + * * @param flavor the flavor with the mimetype * @return The created document format. */ @@ -83,7 +83,7 @@ public final class DocumentFormat extends TextSyntax String mimetype = flavor.getMediaType() + "/" + flavor.getMediaSubtype(); if (charset != null) mimetype += "; charset=" + charset; - + return new DocumentFormat(mimetype, null); } |