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, waitgetOutputStreampublic java.lang.String getEncoding()
DestinationgetEncoding in interface Destinationprotected void setEncoding(java.lang.String encoding)
public boolean keepOpen()
DestinationkeepOpen in interface Destinationpublic java.io.Writer getWriter(java.lang.String contentType,
java.lang.String encoding)
throws java.io.IOException,
java.io.UnsupportedEncodingException
getWriter in interface Destinationjava.io.IOExceptionjava.io.UnsupportedEncodingExceptionpublic Destination resolve(java.lang.String uri)
resolve in interface Destination