JavaTM Platform
Standard Ed. 6

javax.print
�� StreamPrintService

java.lang.Object
  �̳��� javax.print.StreamPrintService
������ʵ�ֵĽӿڣ�
PrintService

public abstract class StreamPrintService
extends Object
implements PrintService

������չ�� PrintService ����ʾ����һ�� PrintService�����Բ�ͬ�ĸ�ʽ��ͻ����ṩ���������ӡ���ݡ�����Ҫ���������ʽ��һ���ʺ��ڲ鿴��浵���ĵ����͵ķ��񡣱����� mime ���͵���ʽ�����������ʽ�����Ч�����б�ʾ��ʽ��ʼ���� "java.io.OutputStream" ��ij����� doc flavor���ɴ� StreamPrintServiceFactory ʵ���л�� StreamPrintService ���ʵ����

ע�⣬StreamPrintService �� PrintService ��ͬ��PrintService ֧�� Destination ���ԡ�StreamPrintService ʼ������һ����������� PrintService ��ѡ�ؽ���һ�� Destination��StreamPrintService û��������ʽ�������Ĭ��Ŀ�ꡣ���⣬StreamPrintService Ӧ���������������������õĸ�ʽ�����������Ӧ���� StreamPrintService ֧�� Destination ���ԡ�


���췽��ժҪ
protected StreamPrintService(OutputStream out)
          ����һ�� StreamPrintService ����
 
����ժҪ
 void dispose()
          ���ô� StreamPrintService��
abstract  String getOutputFormat()
          ���ش� PrintService ���������ĵ���ʽ��
 OutputStream getOutputStream()
          ����������
 boolean isDisposed()
          ����һ�� boolean ֵ��ָʾ�Ƿ��Ѵ��ô� StreamPrintService��
 
���� java.lang.Object �̳еķ���
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
�ӽӿ� javax.print.PrintService �̳еķ���
addPrintServiceAttributeListener, createPrintJob, equals, getAttribute, getAttributes, getDefaultAttributeValue, getName, getServiceUIFactory, getSupportedAttributeCategories, getSupportedAttributeValues, getSupportedDocFlavors, getUnsupportedAttributes, hashCode, isAttributeCategorySupported, isAttributeValueSupported, isDocFlavorSupported, removePrintServiceAttributeListener
 

���췽����ϸ��Ϣ

StreamPrintService

protected StreamPrintService(OutputStream out)
����һ�� StreamPrintService ����

������
out - ������ʽ����ӡ�������������
������ϸ��Ϣ

getOutputStream

public OutputStream getOutputStream()
����������

���أ�
�˷��񽫸�ʽ����ӡ���������͵�������

getOutputFormat

public abstract String getOutputFormat()
���ش� PrintService ���������ĵ���ʽ�������� mime ���͸�ʽ���� DocFlavor �� mime ���Ͳ��ּ���

���أ�
��ʶ�����ʽ�� mime ���͡�
������
DocFlavor

dispose

public void dispose()
���ô� StreamPrintService������޷�����ij������������봦������ָʾ�������ͨ���ͻ��˽����ô˷�����ijЩ���񣨿�д���޷��������׷�ӵ����ݣ�Ҳ���Դ��ø������ⲻ��رո�������ֻ�ǽ�����Ϊ�˷����޷���ʹ�������ѡ�


isDisposed

public boolean isDisposed()
����һ�� boolean ֵ��ָʾ�Ƿ��Ѵ��ô� StreamPrintService������Ѵ��ô˶����򷵻� true������Ϳͻ���Ӧ�ó���ʹ�ô˷�����ʶ����Щû��Ӧ����д������ݵ�����

���أ�
����Ѵ��ô� StreamPrintService���򷵻� true

JavaTM Platform
Standard Ed. 6

�ύ��������
�йظ���� API �ο����ϺͿ�����Ա�ĵ�������� Java SE ������Ա�ĵ������ĵ���������ϸ�ġ����򿪷���Ա���������Լ�������������ﶨ�塢ʹ�ü��ɺ͹�������ʾ����

��Ȩ���� 2007 Sun Microsystems, Inc. ��������Ȩ���� ����������֤��������������ĵ����·ַ�������