com.servingxml.io.streamsink
Class StringStreamSink
java.lang.Object
com.servingxml.io.streamsink.AbstractStreamSink
com.servingxml.io.streamsink.StringStreamSink
- All Implemented Interfaces:
- StreamSink
public class StringStreamSink
- extends AbstractStreamSink
- implements StreamSink
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
StringStreamSink
public StringStreamSink()
StringStreamSink
public StringStreamSink(java.lang.String encoding)
StringStreamSink
public StringStreamSink(java.nio.charset.Charset charset)
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
getOutputStream
public java.io.OutputStream getOutputStream()
- Specified by:
getOutputStream
in interface StreamSink
getCharset
public java.nio.charset.Charset getCharset()
- Specified by:
getCharset
in interface StreamSink
getCharset
public java.nio.charset.Charset getCharset(java.nio.charset.Charset defaultCharset)
- Specified by:
getCharset
in interface StreamSink
close
public void close()
- Specified by:
close
in interface StreamSink
setOutputProperties
public void setOutputProperties(java.util.Properties outputProperties)
- Specified by:
setOutputProperties
in interface StreamSink
setOutputProperty
public void setOutputProperty(java.lang.String key,
java.lang.String value)
- Specified by:
setOutputProperty
in interface StreamSink
getOutputProperties
public java.util.Properties getOutputProperties()
- Specified by:
getOutputProperties
in interface StreamSink