|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.print.attribute.URISyntax
javax.print.attribute.standard.Destination
public final class Destination
The Destination
attribute provides a URI for an alternate
destination of the printing output.
As not an IPP attribute many print services will not support this attribute and only provide the printer device as a destination. An alternate output destination would be a file on the local harddisk given as a file scheme URI.
If a print service does not support the destination attributes URI it
will throw a PrintException. This exception may further implement the
interface URIException
.
IPP Compatibility: Destination is not an IPP 1.1 attribute.
PrintException
,
URIException
,
Serialized FormConstructor Summary | |
---|---|
Destination(URI uri)
Constructs a Destination object. |
Method Summary | |
---|---|
boolean |
equals(Object obj)
Tests if the given object is equal to this object. |
Class<? extends Attribute> |
getCategory()
Returns category of this class. |
String |
getName()
Returns the name of this attribute. |
Methods inherited from class javax.print.attribute.URISyntax |
---|
getURI, hashCode, toString |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Destination(URI uri)
Destination
object.
uri
- the URI of the output destination.
NullPointerException
- if the given uri is null.Method Detail |
---|
public boolean equals(Object obj)
equals
in class URISyntax
obj
- the object to test
true
if both objects are equal,
false
otherwise.Object.hashCode()
public Class<? extends Attribute> getCategory()
getCategory
in interface Attribute
Destination
itself.public String getName()
getName
in interface Attribute
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |