JavaTM Platform
Standard Ed. 6

クラス
javax.print.DocFlavor の使用

DocFlavor を使用しているパッケージ
javax.print JavaTM Print Service API の主要なクラスおよびインタフェースを提供します。 
 

javax.print での DocFlavor の使用
 

javax.print での DocFlavor のサブクラス
static class DocFlavor.BYTE_ARRAY
          DocFlavor.BYTE_ARRAY クラスは、事前定義された static 定数 DocFlavor オブジェクトを提供します。
static class DocFlavor.CHAR_ARRAY
          DocFlavor.CHAR_ARRAY クラスは、事前定義された static 定数 DocFlavor オブジェクトを提供します。
static class DocFlavor.INPUT_STREAM
          DocFlavor.INPUT_STREAM クラスは、事前定義された static 定数 DocFlavor オブジェクトを提供します。
static class DocFlavor.READER
          DocFlavor.READER クラスは、事前定義された static 定数 DocFlavor オブジェクトを提供します。
static class DocFlavor.SERVICE_FORMATTED
          DocFlavor.SERVICE_FORMATTED クラスは、定義済みの static 定数 DocFlavor オブジェクト (例、サービス形式の印刷データ用 doc フレーバ) を提供します。
static class DocFlavor.STRING
          DocFlavor.STRING クラスは、定義済みの static 定数 DocFlavor オブジェクトを提供します。
static class DocFlavor.URL
          DocFlavor.URL クラスは、事前定義された static 定数 DocFlavor オブジェクトを提供します。
 

DocFlavor を返す javax.print のメソッド
 DocFlavor SimpleDoc.getDocFlavor()
          この doc オブジェクトが印刷データの一部を提供する doc フレーバを判別します。
 DocFlavor Doc.getDocFlavor()
          この doc オブジェクトが印刷データの一部を提供する doc フレーバを判別します。
abstract  DocFlavor[] StreamPrintServiceFactory.getSupportedDocFlavors()
          このファクトリから取得されたプリンタが受け入れ可能なドキュメントフレーバのファクトリを照会します。
 DocFlavor[] PrintService.getSupportedDocFlavors()
          この PrintService 用のジョブ設定時に、クライアントが指定可能な印刷データ形式を判別します。
 DocFlavor[] FlavorException.getUnsupportedFlavors()
          サポートされていないフレーバを返します。
 

DocFlavor 型のパラメータを持つ javax.print のメソッド
abstract  MultiDocPrintService[] PrintServiceLookup.getMultiDocPrintServices(DocFlavor[] flavors, AttributeSet attributes)
          アプリケーションから直接呼び出されることはありません。
abstract  PrintService[] PrintServiceLookup.getPrintServices(DocFlavor flavor, AttributeSet attributes)
          指定された属性と DocFlavor の組み合わせをサポートすることを明確に確認可能なサービスを検出します。
 Object PrintService.getSupportedAttributeValues(Class<? extends Attribute> category, DocFlavor flavor, AttributeSet attributes)
          この印刷サービス用のジョブ設定時に、クライアントが特定のカテゴリ内で指定可能な印刷属性値を判別します。
 AttributeSet PrintService.getUnsupportedAttributes(DocFlavor flavor, AttributeSet attributes)
          特定の DocFlavor のコンテキスト内の印刷要求でサポートされない属性を識別します。
 boolean PrintService.isAttributeValueSupported(Attribute attrval, DocFlavor flavor, AttributeSet attributes)
          この Print Service 用のジョブ設定時に、クライアントが特定の印刷属性値を指定可能かどうかを判別します。
 boolean PrintService.isDocFlavorSupported(DocFlavor flavor)
          この印刷サービスが特定の DocFlavor をサポートするかどうかを判別します。
static MultiDocPrintService[] PrintServiceLookup.lookupMultiDocPrintServices(DocFlavor[] flavors, AttributeSet attributes)
          指定された doc フレーバすべてを含む MultiDoc を印刷可能な MultiDoc 印刷サービスを検出します。
static PrintService[] PrintServiceLookup.lookupPrintServices(DocFlavor flavor, AttributeSet attributes)
          指定された DocFlavor の印刷が可能な印刷サービスを検出します。
static StreamPrintServiceFactory[] StreamPrintServiceFactory.lookupStreamPrintServiceFactories(DocFlavor flavor, String outputMimeType)
          データストリームを flavor で指定された形式で出力するために、印刷ジョブで使用可能な印刷サービス用ファクトリを検出します。
static PrintService ServiceUI.printDialog(GraphicsConfiguration gc, int x, int y, PrintService[] services, PrintService defaultService, DocFlavor flavor, PrintRequestAttributeSet attributes)
          印刷サービス (プリンタ) 選択用ダイアログをユーザーに提供します。
 

DocFlavor 型のパラメータを持つ javax.print のコンストラクタ
SimpleDoc(Object printData, DocFlavor flavor, DocAttributeSet attributes)
          指定された印刷データ、doc フレーバ、および doc 属性セットを使用して、SimpleDoc を構築します。
 


JavaTM Platform
Standard Ed. 6

バグの報告と機能のリクエスト
さらに詳しい API リファレンスおよび開発者ドキュメントについては、Java SE 開発者用ドキュメントを参照してください。開発者向けの詳細な解説、概念の概要、用語の定義、バグの回避策、およびコード実例が含まれています。

Copyright 2006 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms. Documentation Redistribution Policy も参照してください。