|
JavaTM 2 Platform Standard Ed. 5.0 |
|||||||||
ÀÌÀü Ŭ·¡½º ´ÙÀ½ Ŭ·¡½º | ÇÁ·¹ÀÓÀ¸·Î ÇÁ·¹ÀÓ ¾øÀÌ | |||||||||
°³¿ä: NESTED | Çʵå | constructor | ¸Þ¼µå | »ó¼¼: Çʵå | »ý¼ºÀÚ | ¸Þ¼µå |
java.lang.Objectjavax.print.attribute.URISyntax
javax.print.attribute.standard.Destination
public final class Destination
Destination Ŭ·¡½º´Â spool µÈ ÇÁ¸°ÅÍ Çü½ÄÀÇ µ¥ÀÌÅÍÀÇ ´ëü Ãâ·Âó¸¦ ³ªÅ¸³»±â À§Çؼ »ç¿ëÇÏ´Â URI Àμ⠼Ӽº Ŭ·¡½ºÀÔ´Ï´Ù. ¸¹Àº PrintServices´Â ÇÁ¸°ÅÍ µð¹ÙÀ̽º ÀÌ¿ÜÀÇ Ãâ·ÂóÀÇ °³³äÀ» Áö¿ø ÇÏÁö ¾Ê±â ¶§¹®¿¡ ÀÌ ¼Ó¼ºµµ Áö¿ø µÇÁö ¾Ê½À´Ï´Ù.
ÀÌ ¼Ó¼ºÀº ÀϹÝÀûÀ¸·Î ¡¸file:out.prn¡¹µîÀÇ ·ÎÄà µð½ºÅ© ÆÄÀÏÀ» ¸®´ÙÀÌ·ºÆ® ÇÏ´Â ¾îÇø®ÄÉÀ̼ÇÀ¸·Î¼ »ç¿ëµË´Ï´Ù. ¡¸file:¡¹¹æ½ÄÀÇ URI ÀνºÅϽºÀÇ ÀûÀýÇÑ ±¸ÃàÀº, File
Ŭ·¡½ºÀÇ toURI()
¸Þ¼µå¸¦ »ç¿ëÇØ ½Ç½ÃÇÒ Çʿ䰡 ÀÖ´Â °Í¿¡ ÁÖÀÇÇØ ÁÖ¼¼¿ä. ÀÚ¼¼ÇÑ ³»¿ëÀº ÀÌ Å¬·¡½ºÀÇ ¹®¼¸¦ ÂüÁ¶ÇϽʽÿÀ.
Ãâ·Âó URI°¡ PrintRequest ·Î ÁöÁ¤µÇ¾î PrintService ¿¡ ÇÑ Ãâ·Â¿¡ ¾×¼¼½º ÇÒ ¼ö ¾ø´Â °æ¿ì, PrintException°¡ ¹ß»ý µË´Ï´Ù. PrintException´Â URIExceptionÀ» ±¸ÇöÇØ, º¸´Ù ±¸Ã¼ÀûÀÎ ¿øÀÎÀ» Á¦°øÇÕ´Ï´Ù.
IPP ȣȯ¼º: Destination´Â IPP ¼Ó¼ºÀÌ ¾Æ´Õ´Ï´Ù.
»ý¼ºÀÚ °³¿ä | |
---|---|
Destination (URI uri)
ÁöÁ¤µÈ URI ·Î »õ·Î¿î Ãâ·Âó ¼Ó¼ºÀ» ±¸ÃàÇÕ´Ï´Ù. |
¸Þ¼µå °³¿ä | |
---|---|
boolean |
equals (Object object)
ÀÌ Ãâ·Âó ¼Ó¼ºÀÌ °´Ã¼¿¡°Ô °Ç³×Áø ¼Ó¼º°ú µ¿ÀÏÇÑÁö ¾î¶²Áö¸¦ ¸®ÅÏÇÕ´Ï´Ù. |
Class <? extends Attribute > |
getCategory ()
ÀÌ Àμ⠼Ӽº°ªÀÇ ¡¸Ä«Å×°í¸®¡¹·Î¼ »ç¿ëµÇ´Â Àμ⠼Ӽº Ŭ·¡½º¸¦ ¸®ÅÏÇÕ´Ï´Ù. |
String |
getName ()
¼Ó¼º°ªÀÌ ÀνºÅϽº°¡ µÇ´Â Ä«Å×°í¸®ÀÇ À̸§À» ¸®ÅÏÇÕ´Ï´Ù. |
Ŭ·¡½º javax.print.attribute. URISyntax ·ÎºÎÅÍ »ó¼ÓµÈ ¸Þ¼µå |
---|
getURI,
hashCode,
toString |
Ŭ·¡½º java.lang. Object ·ÎºÎÅÍ »ó¼ÓµÈ ¸Þ¼µå |
---|
clone,
finalize,
getClass,
notify,
notifyAll,
wait,
wait,
wait |
»ý¼ºÀÚ »ó¼¼ |
---|
public Destination(URI uri)
uri
- URI
NullPointerException
- ¹ÌÈ®ÀÎÀÇ ¿¹¿Ü. uri
°¡ nullÀÎ °æ¿ì, Throw µÈ´Ù¸Þ¼µåÀÇ »ó¼¼ |
---|
public boolean equals(Object object)
object
°¡ nullÀº ¾Æ´Ï´Ù
object
°¡ Destination Ŭ·¡½ºÀÇ ÀνºÅϽºÀÌ´Ù
object
URI°¡ µ¿ÀÏÇÏ´Ù
URISyntax
³»ÀÇ equals
object
- ºñ±³ ´ë»óÀÇ °´Ã¼
object
°¡ Ãâ·Âó ¼Ó¼º°ú µ¿ÀÏÇÑ °æ¿ì´Â true, ±×·¸Áö ¾ÊÀº °æ¿ì´Â falseObject.hashCode()
,
Hashtable
public final Class <? extends Attribute > getCategory()
Destination Ŭ·¡½ºÀÇ °æ¿ì, Ä«Å×°í¸®´Â Destination Ŭ·¡½º ÀÚüÀÔ´Ï´Ù.
Attribute
³»ÀÇ getCategory
java.lang.Class
Ŭ·¡½ºÀÇ ÀνºÅϽºpublic final String getName()
Destination Ŭ·¡½ºÀÇ °æ¿ì, Ä«Å×°í¸®¸íÀº spool-data-destination
ÀÔ´Ï´Ù.
Attribute
³»ÀÇ getName
|
JavaTM 2 Platform Standard Ed. 5.0 |
|||||||||
ÀÌÀü Ŭ·¡½º ´ÙÀ½ Ŭ·¡½º | ÇÁ·¹ÀÓÀ¸·Î ÇÁ·¹ÀÓ ¾øÀÌ | |||||||||
°³¿ä: NESTED | Çʵå | constructor | ¸Þ¼µå | »ó¼¼: Çʵå | »ý¼ºÀÚ | ¸Þ¼µå |
Copyright 2004 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms . Documentation Redistribution Policy µµ ÂüÁ¶ÇϽʽÿÀ.