public abstract class GenericDestination extends java.lang.Object implements Destination
Constructor and Description |
---|
GenericDestination() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getEncoding()
Returns the IANA name of the encoding actually used.
|
java.io.Writer |
getWriter(java.lang.String contentType,
java.lang.String encoding) |
boolean |
keepOpen()
Returns true if the OutputStream or Writer should be kept open by the
caller and not closed when the caller is done with it.
|
Destination |
resolve(java.lang.String uri) |
protected void |
setEncoding(java.lang.String encoding) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getOutputStream
public java.lang.String getEncoding()
Destination
getEncoding
in interface Destination
protected void setEncoding(java.lang.String encoding)
public boolean keepOpen()
Destination
keepOpen
in interface Destination
public java.io.Writer getWriter(java.lang.String contentType, java.lang.String encoding) throws java.io.IOException, java.io.UnsupportedEncodingException
getWriter
in interface Destination
java.io.IOException
java.io.UnsupportedEncodingException
public Destination resolve(java.lang.String uri)
resolve
in interface Destination