|
JavaTM Platform Standard Ed. 6 |
|||||||||
��һ���� ��һ���� | ��� ��� ������ | |||||||||
ժҪ�� Ƕ�� | �ֶ� | ���췽�� | ���� | ��ϸ��Ϣ�� �ֶ� | ���췽�� | ���� |
java.lang.Objectjavax.print.StreamPrintService
public abstract class StreamPrintService
������չ�� 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 |
���췽����ϸ��Ϣ |
---|
protected StreamPrintService(OutputStream out)
out
- ������ʽ����ӡ�������������������ϸ��Ϣ |
---|
public OutputStream getOutputStream()
public abstract String getOutputFormat()
DocFlavor
public void dispose()
StreamPrintService
�����������ij������������봦������ָʾ�������ͨ���ͻ��˽����ô˷�����ijЩ����д������������ӵ����ݣ�Ҳ���Դ��ø������ⲻ��رո�������ֻ�ǽ�����Ϊ�˷�������ʹ�������ѡ�
public boolean isDisposed()
boolean
ֵ��ָʾ�Ƿ��Ѵ��ô� StreamPrintService
������Ѵ��ô˶����� true������Ϳͻ���Ӧ�ó���ʹ�ô˷�����ʶ����Щû��Ӧ����д������ݵ�����
StreamPrintService
���� true
|
JavaTM Platform Standard Ed. 6 |
|||||||||
��һ���� ��һ���� | ��� ��� ������ | |||||||||
ժҪ�� Ƕ�� | �ֶ� | ���췽�� | ���� | ��ϸ��Ϣ�� �ֶ� | ���췽�� | ���� |
��Ȩ���� 2007 Sun Microsystems, Inc. ��������Ȩ���� ����������֤��������������ĵ����·ַ�������