@NotThreadSafe public class StringStreamResult extends StreamResult implements IHasStringRepresentation
StreamResult implementation that writes to String
objects.FEATUREPI_DISABLE_OUTPUT_ESCAPING, PI_ENABLE_OUTPUT_ESCAPING| Constructor and Description |
|---|
StringStreamResult() |
StringStreamResult(String sSystemID) |
| Modifier and Type | Method and Description |
|---|---|
char[] |
getAsCharArray() |
String |
getAsString() |
NonBlockingStringWriter |
getStringWriter() |
String |
toString() |
getOutputStream, getSystemId, getWriter, setOutputStream, setSystemId, setSystemId, setWriter@Nonnull public NonBlockingStringWriter getStringWriter()
@Nonnull public String getAsString()
getAsString in interface IHasStringRepresentationnull string representation of this object.@Nonnull @ReturnsMutableCopy public char[] getAsCharArray()
Copyright © 2014–2015 Philip Helger. All rights reserved.