- All Implemented Interfaces:
Encode,JavaScript,Json,LdJson,Mysql,Psql,Sh,Style,Text,Url,ValidMediaFilter,ValidMediaInput,ValidMediaOutput,Whitespace,Xhtml,XhtmlAttribute,NoClose,Closeable,Flushable,Appendable,AutoCloseable
- Author:
- AO Industries, Inc.
- See Also:
-
Field Summary
Fields inherited from class com.aoapps.encoding.MediaWriter
DEFAULT_CLOSER, DEFAULT_IS_NO_CLOSEFields inherited from class java.io.FilterWriter
outFields inherited from interface com.aoapps.encoding.Whitespace
INDENT_SPACES, NL, SPACE -
Constructor Summary
ConstructorsConstructorDescriptionTextWriter(EncodingContext encodingContext, MediaEncoder encoder, Writer out) Simplified constructor.TextWriter(EncodingContext encodingContext, MediaEncoder encoder, Writer out, boolean outOptimized, Whitespace indentDelegate, Predicate<? super MediaWriter> isNoClose, IOConsumer<? super MediaWriter> closer) -
Method Summary
Modifier and TypeMethodDescriptionappend(char c) append(CharSequence csq) append(CharSequence csq, int start, int end) decDepth()Decrements the indentation depth, if enabled.Deprecated.Encoding of arbitrary content types is not expected since all supported types have per-type methods.Deprecated.Encoding of arbitrary content types is not expected since all supported types have per-type methods.Deprecated.Encoding of arbitrary content types is not expected since all supported types have per-type methods.Deprecated.Encoding of arbitrary content types is not expected since all supported types have per-type methods.<Ex extends Throwable>
TextWriterencode(MediaType contentType, MediaWritable<Ex> content) Deprecated.Encoding of arbitrary content types is not expected since all supported types have per-type methods.<Ex extends Throwable>
TextWriterencode(MediaType contentType, IOSupplierE<?, Ex> content) Deprecated.Encoding of arbitrary content types is not expected since all supported types have per-type methods.encode(MediaType contentType, CharSequence csq) Deprecated.Encoding of arbitrary content types is not expected since all supported types have per-type methods.encode(MediaType contentType, CharSequence csq, int start, int end) Deprecated.Encoding of arbitrary content types is not expected since all supported types have per-type methods.Deprecated.Encoding of arbitrary content types is not expected since all supported types have per-type methods.Gets the input type.incDepth()Increments the indentation depth, if enabled.indent()Writes the current indentation when indentation enabled.indent(int depthOffset) Writes the current indentation with a depth offset when indentation enabled.javascript(char ch) Writes the given JavaScript with proper encoding.javascript(char[] cbuf) Writes the given JavaScript with proper encoding.javascript(char[] cbuf, int offset, int len) Writes the given JavaScript with proper encoding.<Ex extends Throwable>
TextWriterjavascript(JavaScriptWritable<Ex> javascript) Writes the given JavaScript with proper encoding.<Ex extends Throwable>
TextWriterjavascript(IOSupplierE<?, Ex> javascript) Writes the given JavaScript with proper encoding.javascript(CharSequence csq) Writes the given JavaScript with proper encoding.javascript(CharSequence csq, int start, int end) Writes the given JavaScript with proper encoding.javascript(Object javascript) Writes the given JavaScript with proper encoding.json(char ch) Writes the given JSON object graph with proper encoding.json(char[] cbuf) Writes the given JSON object graph with proper encoding.json(char[] cbuf, int offset, int len) Writes the given JSON object graph with proper encoding.<Ex extends Throwable>
TextWriterjson(JsonWritable<Ex> json) Writes the given JSON object graph with proper encoding.<Ex extends Throwable>
TextWriterjson(IOSupplierE<?, Ex> json) Writes the given JSON object graph with proper encoding.json(CharSequence csq) Writes the given JSON object graph with proper encoding.json(CharSequence csq, int start, int end) Writes the given JSON object graph with proper encoding.Writes the given JSON object graph with proper encoding.ldJson(char ch) Writes the given JSON linked data with proper encoding.ldJson(char[] cbuf) Writes the given JSON linked data with proper encoding.ldJson(char[] cbuf, int offset, int len) Writes the given JSON linked data with proper encoding.<Ex extends Throwable>
TextWriterldJson(LdJsonWritable<Ex> ldJson) Writes the given JSON linked data with proper encoding.<Ex extends Throwable>
TextWriterldJson(IOSupplierE<?, Ex> ldJson) Writes the given JSON linked data with proper encoding.ldJson(CharSequence csq) Writes the given JSON linked data with proper encoding.ldJson(CharSequence csq, int start, int end) Writes the given JSON linked data with proper encoding.Writes the given JSON linked data with proper encoding.mysql(char ch) Writes the givenmysqlcommand input with proper encoding.mysql(char[] cbuf) Writes the givenmysqlcommand input with proper encoding.mysql(char[] cbuf, int offset, int len) Writes the givenmysqlcommand input with proper encoding.<Ex extends Throwable>
TextWritermysql(MysqlWritable<Ex> mysql) Writes the givenmysqlcommand input with proper encoding.<Ex extends Throwable>
TextWritermysql(IOSupplierE<?, Ex> mysql) Writes the givenmysqlcommand input with proper encoding.mysql(CharSequence csq) Writes the givenmysqlcommand input with proper encoding.mysql(CharSequence csq, int start, int end) Writes the givenmysqlcommand input with proper encoding.Writes the givenmysqlcommand input with proper encoding.nbsp()Writes one non-breaking space character.nbsp(int count) Writes the given number of non-breaking space characters.nl()Writes a newline.nli()Writes a newline, followed by current indentation when indentation enabled.nli(int depthOffset) Writes a newline, followed by current indentation with a depth offset when indentation enabled.psql(char ch) Writes the givenpsqlcommand input with proper encoding.psql(char[] cbuf) Writes the givenpsqlcommand input with proper encoding.psql(char[] cbuf, int offset, int len) Writes the givenpsqlcommand input with proper encoding.<Ex extends Throwable>
TextWriterpsql(PsqlWritable<Ex> psql) Writes the givenpsqlcommand input with proper encoding.<Ex extends Throwable>
TextWriterpsql(IOSupplierE<?, Ex> psql) Writes the givenpsqlcommand input with proper encoding.psql(CharSequence csq) Writes the givenpsqlcommand input with proper encoding.psql(CharSequence csq, int start, int end) Writes the givenpsqlcommand input with proper encoding.Writes the givenpsqlcommand input with proper encoding.setDepth(int depth) Sets the indentation depth.setIndent(boolean indent) Enables or disabled indentation.sh(char ch) Writes the given shell script with proper encoding.sh(char[] cbuf) Writes the given shell script with proper encoding.sh(char[] cbuf, int offset, int len) Writes the given shell script with proper encoding.<Ex extends Throwable>
TextWritersh(ShWritable<Ex> sh) Writes the given shell script with proper encoding.<Ex extends Throwable>
TextWritersh(IOSupplierE<?, Ex> sh) Writes the given shell script with proper encoding.sh(CharSequence csq) Writes the given shell script with proper encoding.sh(CharSequence csq, int start, int end) Writes the given shell script with proper encoding.Writes the given shell script with proper encoding.sp()Writes one space character.sp(int count) Writes the given number of space characters.style(char ch) Writes the given CSS stylesheet with proper encoding.style(char[] cbuf) Writes the given CSS stylesheet with proper encoding.style(char[] cbuf, int offset, int len) Writes the given CSS stylesheet with proper encoding.<Ex extends Throwable>
TextWriterstyle(StyleWritable<Ex> style) Writes the given CSS stylesheet with proper encoding.<Ex extends Throwable>
TextWriterstyle(IOSupplierE<?, Ex> style) Writes the given CSS stylesheet with proper encoding.style(CharSequence csq) Writes the given CSS stylesheet with proper encoding.style(CharSequence csq, int start, int end) Writes the given CSS stylesheet with proper encoding.Writes the given CSS stylesheet with proper encoding.text()Deprecated.Already writing texttext(char ch) Deprecated.Already writing texttext(char[] cbuf) Deprecated.Already writing texttext(char[] cbuf, int offset, int len) Deprecated.Already writing text<Ex extends Throwable>
TextWritertext(TextWritable<Ex> text) Deprecated.Already writing text<Ex extends Throwable>
TextWritertext(IOSupplierE<?, Ex> text) Deprecated.Already writing texttext(CharSequence csq) Deprecated.Already writing texttext(CharSequence csq, int start, int end) Deprecated.Already writing textDeprecated.Already writing texturl(char ch) Writes the given RFC 3986 URI or RFC 3987 IRI with proper encoding.url(char[] cbuf) Writes the given RFC 3986 URI or RFC 3987 IRI with proper encoding.url(char[] cbuf, int offset, int len) Writes the given RFC 3986 URI or RFC 3987 IRI with proper encoding.<Ex extends Throwable>
TextWriterurl(UrlWritable<Ex> url) Writes the given RFC 3986 URI or RFC 3987 IRI with proper encoding.<Ex extends Throwable>
TextWriterurl(IOSupplierE<?, Ex> url) Writes the given RFC 3986 URI or RFC 3987 IRI with proper encoding.url(CharSequence csq) Writes the given RFC 3986 URI or RFC 3987 IRI with proper encoding.url(CharSequence csq, int start, int end) Writes the given RFC 3986 URI or RFC 3987 IRI with proper encoding.Writes the given RFC 3986 URI or RFC 3987 IRI with proper encoding.xhtml(char ch) Writes the given (X)HTML with proper encoding.xhtml(char[] cbuf) Writes the given (X)HTML with proper encoding.xhtml(char[] cbuf, int offset, int len) Writes the given (X)HTML with proper encoding.<Ex extends Throwable>
TextWriterxhtml(XhtmlWritable<Ex> xhtml) Writes the given (X)HTML with proper encoding.<Ex extends Throwable>
TextWriterxhtml(IOSupplierE<?, Ex> xhtml) Writes the given (X)HTML with proper encoding.xhtml(CharSequence csq) Writes the given (X)HTML with proper encoding.xhtml(CharSequence csq, int start, int end) Writes the given (X)HTML with proper encoding.Writes the given (X)HTML with proper encoding.xhtmlAttribute(char ch) Writes the given (X)HTML Attribute with proper encoding.xhtmlAttribute(char[] cbuf) Writes the given (X)HTML Attribute with proper encoding.xhtmlAttribute(char[] cbuf, int offset, int len) Writes the given (X)HTML Attribute with proper encoding.<Ex extends Throwable>
TextWriterxhtmlAttribute(XhtmlAttributeWritable<Ex> xhtmlAttribute) Writes the given (X)HTML Attribute with proper encoding.<Ex extends Throwable>
TextWriterxhtmlAttribute(IOSupplierE<?, Ex> xhtmlAttribute) Writes the given (X)HTML Attribute with proper encoding.Writes the given (X)HTML Attribute with proper encoding.xhtmlAttribute(CharSequence csq, int start, int end) Writes the given (X)HTML Attribute with proper encoding.xhtmlAttribute(Object xhtmlAttribute) Writes the given (X)HTML Attribute with proper encoding.Methods inherited from class com.aoapps.encoding.WhitespaceWriter
getDepth, getIndentMethods inherited from class com.aoapps.encoding.MediaWriter
canSkipValidation, close, getEncoder, getEncodingContext, getValidMediaOutputType, isNoClose, isValidatingMediaInputTypeMethods inherited from class com.aoapps.lang.io.EncoderWriter
getOut, write, write, write, write, write, writePrefix, writeSuffix, writeSuffixMethods inherited from class java.io.FilterWriter
flushMethods inherited from class java.io.Writer
nullWriterMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.aoapps.encoding.JavaScript
javascriptMethods inherited from interface com.aoapps.encoding.XhtmlAttribute
xhtmlAttribute
-
Constructor Details
-
TextWriter
public TextWriter(EncodingContext encodingContext, MediaEncoder encoder, Writer out, boolean outOptimized, Whitespace indentDelegate, Predicate<? super MediaWriter> isNoClose, IOConsumer<? super MediaWriter> closer) - Parameters:
out- Conditionally passed throughCoercion.optimize(java.io.Writer, com.aoapps.lang.io.Encoder)outOptimized- Isoutalready known to have been passed throughCoercion.optimize(java.io.Writer, com.aoapps.lang.io.Encoder)?indentDelegate- When non-null, indentation depth is get/set on the providedWhitespace, otherwise tracks directly on this writer. This allows the indentation to be coordinated between nested content types.isNoClose- Called to determine result ofMediaWriter.isNoClose()closer- Called onMediaWriter.close(), which may optionally perform final suffix write and/or close the underlying writer, will only be called to be idempotent, implementation can assume will only be called once.
-
TextWriter
Simplified constructor.- Parameters:
out- Passed throughCoercion.optimize(java.io.Writer, com.aoapps.lang.io.Encoder)- See Also:
-
-
Method Details
-
getValidMediaInputType
Description copied from class:MediaWriterGets the input type.Gets the media type this specific type of media writer represents. This is a one-to-one relationship: every media type has a specific writer.
- Specified by:
getValidMediaInputTypein interfaceValidMediaInput- Specified by:
getValidMediaInputTypein classMediaWriter
-
append
- Specified by:
appendin interfaceAppendable- Overrides:
appendin classWhitespaceWriter- Throws:
IOException
-
append
- Specified by:
appendin interfaceAppendable- Overrides:
appendin classWhitespaceWriter- Throws:
IOException
-
append
- Specified by:
appendin interfaceAppendable- Overrides:
appendin classWhitespaceWriter- Throws:
IOException
-
encode
Deprecated.Encoding of arbitrary content types is not expected since all supported types have per-type methods.Encodes the given nested type with proper encoding.- Specified by:
encodein interfaceEncode- Specified by:
encodein interfaceJavaScript- Specified by:
encodein interfaceJson- Specified by:
encodein interfaceLdJson- Specified by:
encodein interfaceMysql- Specified by:
encodein interfacePsql- Specified by:
encodein interfaceSh- Specified by:
encodein interfaceStyle- Specified by:
encodein interfaceText- Specified by:
encodein interfaceUrl- Specified by:
encodein interfaceXhtml- Specified by:
encodein interfaceXhtmlAttribute- Overrides:
encodein classWhitespaceWriter- Returns:
thiswriter- Throws:
IOException
-
encode
Deprecated.Encoding of arbitrary content types is not expected since all supported types have per-type methods.Encodes the given nested type with proper encoding.- Specified by:
encodein interfaceEncode- Specified by:
encodein interfaceJavaScript- Specified by:
encodein interfaceJson- Specified by:
encodein interfaceLdJson- Specified by:
encodein interfaceMysql- Specified by:
encodein interfacePsql- Specified by:
encodein interfaceSh- Specified by:
encodein interfaceStyle- Specified by:
encodein interfaceText- Specified by:
encodein interfaceUrl- Specified by:
encodein interfaceXhtml- Specified by:
encodein interfaceXhtmlAttribute- Overrides:
encodein classWhitespaceWriter- Returns:
thiswriter- Throws:
IOException
-
encode
@Deprecated public TextWriter encode(MediaType contentType, char[] cbuf, int offset, int len) throws IOException Deprecated.Encoding of arbitrary content types is not expected since all supported types have per-type methods.Encodes the given nested type with proper encoding.- Specified by:
encodein interfaceEncode- Specified by:
encodein interfaceJavaScript- Specified by:
encodein interfaceJson- Specified by:
encodein interfaceLdJson- Specified by:
encodein interfaceMysql- Specified by:
encodein interfacePsql- Specified by:
encodein interfaceSh- Specified by:
encodein interfaceStyle- Specified by:
encodein interfaceText- Specified by:
encodein interfaceUrl- Specified by:
encodein interfaceXhtml- Specified by:
encodein interfaceXhtmlAttribute- Overrides:
encodein classWhitespaceWriter- Returns:
thiswriter- Throws:
IOException
-
encode
Deprecated.Encoding of arbitrary content types is not expected since all supported types have per-type methods.Encodes the given nested type with proper encoding.Adds prefixes and suffixes by media type, such as
"…".If the string is translated, comments will be added giving the translation lookup id to aid in translation of server-translated values.
- Specified by:
encodein interfaceEncode- Specified by:
encodein interfaceJavaScript- Specified by:
encodein interfaceJson- Specified by:
encodein interfaceLdJson- Specified by:
encodein interfaceMysql- Specified by:
encodein interfacePsql- Specified by:
encodein interfaceSh- Specified by:
encodein interfaceStyle- Specified by:
encodein interfaceText- Specified by:
encodein interfaceUrl- Specified by:
encodein interfaceXhtml- Specified by:
encodein interfaceXhtmlAttribute- Overrides:
encodein classWhitespaceWriter- Returns:
thiswriter- Throws:
IOException
-
encode
@Deprecated public TextWriter encode(MediaType contentType, CharSequence csq, int start, int end) throws IOException Deprecated.Encoding of arbitrary content types is not expected since all supported types have per-type methods.Encodes the given nested type with proper encoding.Adds prefixes and suffixes by media type, such as
"…".If the string is translated, comments will be added giving the translation lookup id to aid in translation of server-translated values.
- Specified by:
encodein interfaceEncode- Specified by:
encodein interfaceJavaScript- Specified by:
encodein interfaceJson- Specified by:
encodein interfaceLdJson- Specified by:
encodein interfaceMysql- Specified by:
encodein interfacePsql- Specified by:
encodein interfaceSh- Specified by:
encodein interfaceStyle- Specified by:
encodein interfaceText- Specified by:
encodein interfaceUrl- Specified by:
encodein interfaceXhtml- Specified by:
encodein interfaceXhtmlAttribute- Overrides:
encodein classWhitespaceWriter- Returns:
thiswriter- Throws:
IOException
-
encode
Deprecated.Encoding of arbitrary content types is not expected since all supported types have per-type methods.Encodes the given nested type with proper encoding.Adds prefixes and suffixes by media type, such as
"…".If the string is translated, comments will be added giving the translation lookup id to aid in translation of server-translated values.
- Specified by:
encodein interfaceEncode- Specified by:
encodein interfaceJavaScript- Specified by:
encodein interfaceJson- Specified by:
encodein interfaceLdJson- Specified by:
encodein interfaceMysql- Specified by:
encodein interfacePsql- Specified by:
encodein interfaceSh- Specified by:
encodein interfaceStyle- Specified by:
encodein interfaceText- Specified by:
encodein interfaceUrl- Specified by:
encodein interfaceXhtml- Specified by:
encodein interfaceXhtmlAttribute- Overrides:
encodein classWhitespaceWriter- Returns:
thiswriter- Throws:
IOException
-
encode
@Deprecated public <Ex extends Throwable> TextWriter encode(MediaType contentType, IOSupplierE<?, Ex> content) throws IOException, ExDeprecated.Encoding of arbitrary content types is not expected since all supported types have per-type methods.Encodes the given nested type with proper encoding.Adds prefixes and suffixes by media type, such as
"…".If the string is translated, comments will be added giving the translation lookup id to aid in translation of server-translated values.
- Specified by:
encodein interfaceEncode- Specified by:
encodein interfaceJavaScript- Specified by:
encodein interfaceJson- Specified by:
encodein interfaceLdJson- Specified by:
encodein interfaceMysql- Specified by:
encodein interfacePsql- Specified by:
encodein interfaceSh- Specified by:
encodein interfaceStyle- Specified by:
encodein interfaceText- Specified by:
encodein interfaceUrl- Specified by:
encodein interfaceXhtml- Specified by:
encodein interfaceXhtmlAttribute- Overrides:
encodein classWhitespaceWriter- Type Parameters:
Ex- An arbitrary exception type that may be thrown- Returns:
thiswriter- Throws:
IOExceptionEx
-
encode
@Deprecated public <Ex extends Throwable> TextWriter encode(MediaType contentType, MediaWritable<Ex> content) throws IOException, Ex Deprecated.Encoding of arbitrary content types is not expected since all supported types have per-type methods.Encodes the given nested type with proper encoding.Adds prefixes and suffixes by media type, such as
"…".Does not perform any translation markups.
- Specified by:
encodein interfaceEncode- Specified by:
encodein interfaceJavaScript- Specified by:
encodein interfaceJson- Specified by:
encodein interfaceLdJson- Specified by:
encodein interfaceMysql- Specified by:
encodein interfacePsql- Specified by:
encodein interfaceSh- Specified by:
encodein interfaceStyle- Specified by:
encodein interfaceText- Specified by:
encodein interfaceUrl- Specified by:
encodein interfaceXhtml- Specified by:
encodein interfaceXhtmlAttribute- Overrides:
encodein classWhitespaceWriter- Type Parameters:
Ex- An arbitrary exception type that may be thrown- Returns:
thiswriter- Throws:
IOExceptionEx
-
encode
Deprecated.Encoding of arbitrary content types is not expected since all supported types have per-type methods.Encodes the given nested type with proper encoding. This is well suited for use in a try-with-resources block.Adds prefixes and suffixes by media type, such as
"…".Does not perform any translation markups.
- Specified by:
encodein interfaceEncode- Specified by:
encodein interfaceJavaScript- Specified by:
encodein interfaceJson- Specified by:
encodein interfaceLdJson- Specified by:
encodein interfaceMysql- Specified by:
encodein interfacePsql- Specified by:
encodein interfaceSh- Specified by:
encodein interfaceStyle- Specified by:
encodein interfaceUrl- Specified by:
encodein interfaceXhtml- Specified by:
encodein interfaceXhtmlAttribute- Overrides:
encodein classMediaWriter- Returns:
- A new writer that may be used for the given content type.
This writer must be closed for completed calls to
MediaEncoder.writeSuffixTo(java.lang.Appendable, boolean).The returned writer will be of the specific subclass of
MediaWritermatchingcontentType(seeMediaType.getMediaWriterClass(). This meansMediaWriter.getValidMediaInputType()will becontentType. - Throws:
IOException
-
nl
Description copied from interface:WhitespaceWrites a newline.This is
'\n'on all platforms. If a different newline is required, such as"\r\n"for email, filter the output.- Specified by:
nlin interfaceWhitespace- Overrides:
nlin classWhitespaceWriter- Returns:
thiswriter- Throws:
IOException- See Also:
-
nli
Description copied from interface:WhitespaceWrites a newline, followed by current indentation when indentation enabled.This is
'\n'on all platforms. If a different newline is required, such as"\r\n"for email, filter the output.- Specified by:
nliin interfaceWhitespace- Overrides:
nliin classWhitespaceWriter- Returns:
thiswriter- Throws:
IOException- See Also:
-
nli
Description copied from interface:WhitespaceWrites a newline, followed by current indentation with a depth offset when indentation enabled.This is
'\n'on all platforms. If a different newline is required, such as"\r\n"for email, filter the output.- Specified by:
nliin interfaceWhitespace- Overrides:
nliin classWhitespaceWriter- Parameters:
depthOffset- A value added to the current indentation depth. For example, pass-1when performing a newline before a closing tag or ending curly brace.- Returns:
thiswriter- Throws:
IOException- See Also:
-
indent
Description copied from interface:WhitespaceWrites the current indentation when indentation enabled.- Specified by:
indentin interfaceWhitespace- Overrides:
indentin classWhitespaceWriter- Returns:
thiswriter- Throws:
IOException- See Also:
-
indent
Description copied from interface:WhitespaceWrites the current indentation with a depth offset when indentation enabled.- Specified by:
indentin interfaceWhitespace- Overrides:
indentin classWhitespaceWriter- Parameters:
depthOffset- A value added to the current indentation depth. For example, pass-1when performing a newline before a closing tag or ending curly brace.- Returns:
thiswriter- Throws:
IOException- See Also:
-
setIndent
Description copied from interface:WhitespaceEnables or disabled indentation.- Specified by:
setIndentin interfaceWhitespace- Overrides:
setIndentin classWhitespaceWriter- Returns:
thiswriter
-
setDepth
Description copied from interface:WhitespaceSets the indentation depth.- Specified by:
setDepthin interfaceWhitespace- Overrides:
setDepthin classWhitespaceWriter- Returns:
thiswriter
-
incDepth
Description copied from interface:WhitespaceIncrements the indentation depth, if enabled.- Specified by:
incDepthin interfaceWhitespace- Overrides:
incDepthin classWhitespaceWriter- Returns:
thiswriter
-
decDepth
Description copied from interface:WhitespaceDecrements the indentation depth, if enabled.- Specified by:
decDepthin interfaceWhitespace- Overrides:
decDepthin classWhitespaceWriter- Returns:
thiswriter
-
sp
Description copied from interface:WhitespaceWrites one space character.- Specified by:
spin interfaceWhitespace- Overrides:
spin classWhitespaceWriter- Returns:
thiswriter- Throws:
IOException- See Also:
-
sp
Description copied from interface:WhitespaceWrites the given number of space characters.- Specified by:
spin interfaceWhitespace- Overrides:
spin classWhitespaceWriter- Parameters:
count- Whencount <= 0, nothing is written.- Returns:
thiswriter- Throws:
IOException- See Also:
-
xhtml
Description copied from interface:Xhtml- Specified by:
xhtmlin interfaceXhtml- Returns:
thiswriter- Throws:
IOException
-
xhtml
Description copied from interface:Xhtml- Specified by:
xhtmlin interfaceXhtml- Returns:
thiswriter- Throws:
IOException
-
xhtml
Description copied from interface:Xhtml- Specified by:
xhtmlin interfaceXhtml- Returns:
thiswriter- Throws:
IOException
-
xhtml
Description copied from interface:XhtmlWrites the given (X)HTML with proper encoding.Adds prefixes and suffixes by media type.
If the string is translated, comments will be added giving the translation lookup id to aid in translation of server-translated values.
- Specified by:
xhtmlin interfaceXhtml- Returns:
thiswriter- Throws:
IOException
-
xhtml
Description copied from interface:XhtmlWrites the given (X)HTML with proper encoding.Adds prefixes and suffixes by media type.
If the string is translated, comments will be added giving the translation lookup id to aid in translation of server-translated values.
- Specified by:
xhtmlin interfaceXhtml- Returns:
thiswriter- Throws:
IOException
-
xhtml
Description copied from interface:XhtmlWrites the given (X)HTML with proper encoding.Adds prefixes and suffixes by media type.
If the string is translated, comments will be added giving the translation lookup id to aid in translation of server-translated values.
- Specified by:
xhtmlin interfaceXhtml- Returns:
thiswriter- Throws:
IOException
-
xhtml
Description copied from interface:XhtmlWrites the given (X)HTML with proper encoding.Adds prefixes and suffixes by media type.
If the string is translated, comments will be added giving the translation lookup id to aid in translation of server-translated values.
- Specified by:
xhtmlin interfaceXhtml- Type Parameters:
Ex- An arbitrary exception type that may be thrown- Returns:
thiswriter- Throws:
IOExceptionEx
-
xhtml
Description copied from interface:XhtmlWrites the given (X)HTML with proper encoding.Adds prefixes and suffixes by media type.
Does not perform any translation markups.
- Specified by:
xhtmlin interfaceXhtml- Type Parameters:
Ex- An arbitrary exception type that may be thrown- Returns:
thiswriter- Throws:
IOExceptionEx
-
xhtmlAttribute
Description copied from interface:XhtmlAttribute- Specified by:
xhtmlAttributein interfaceXhtmlAttribute- Returns:
thiswriter- Throws:
IOException
-
xhtmlAttribute
Description copied from interface:XhtmlAttribute- Specified by:
xhtmlAttributein interfaceXhtmlAttribute- Returns:
thiswriter- Throws:
IOException
-
xhtmlAttribute
Description copied from interface:XhtmlAttribute- Specified by:
xhtmlAttributein interfaceXhtmlAttribute- Returns:
thiswriter- Throws:
IOException
-
xhtmlAttribute
Description copied from interface:XhtmlAttributeWrites the given (X)HTML Attribute with proper encoding.Adds prefixes and suffixes by media type.
If the string is translated, comments will be added giving the translation lookup id to aid in translation of server-translated values.
- Specified by:
xhtmlAttributein interfaceXhtmlAttribute- Returns:
thiswriter- Throws:
IOException
-
xhtmlAttribute
Description copied from interface:XhtmlAttributeWrites the given (X)HTML Attribute with proper encoding.Adds prefixes and suffixes by media type.
If the string is translated, comments will be added giving the translation lookup id to aid in translation of server-translated values.
- Specified by:
xhtmlAttributein interfaceXhtmlAttribute- Returns:
thiswriter- Throws:
IOException
-
xhtmlAttribute
Description copied from interface:XhtmlAttributeWrites the given (X)HTML Attribute with proper encoding.Adds prefixes and suffixes by media type.
If the string is translated, comments will be added giving the translation lookup id to aid in translation of server-translated values.
- Specified by:
xhtmlAttributein interfaceXhtmlAttribute- Returns:
thiswriter- Throws:
IOException
-
xhtmlAttribute
public <Ex extends Throwable> TextWriter xhtmlAttribute(IOSupplierE<?, Ex> xhtmlAttribute) throws IOException, ExDescription copied from interface:XhtmlAttributeWrites the given (X)HTML Attribute with proper encoding.Adds prefixes and suffixes by media type.
If the string is translated, comments will be added giving the translation lookup id to aid in translation of server-translated values.
- Specified by:
xhtmlAttributein interfaceXhtmlAttribute- Type Parameters:
Ex- An arbitrary exception type that may be thrown- Returns:
thiswriter- Throws:
IOExceptionEx
-
xhtmlAttribute
public <Ex extends Throwable> TextWriter xhtmlAttribute(XhtmlAttributeWritable<Ex> xhtmlAttribute) throws IOException, Ex Description copied from interface:XhtmlAttributeWrites the given (X)HTML Attribute with proper encoding.Adds prefixes and suffixes by media type.
Does not perform any translation markups.
- Specified by:
xhtmlAttributein interfaceXhtmlAttribute- Type Parameters:
Ex- An arbitrary exception type that may be thrown- Returns:
thiswriter- Throws:
IOExceptionEx
-
style
Description copied from interface:StyleWrites the given CSS stylesheet with proper encoding.Adds prefixes and suffixes by media type, such as
<style>…</style>.- Specified by:
stylein interfaceStyle- Returns:
thiswriter- Throws:
IOException
-
style
Description copied from interface:StyleWrites the given CSS stylesheet with proper encoding.Adds prefixes and suffixes by media type, such as
<style>…</style>.- Specified by:
stylein interfaceStyle- Returns:
thiswriter- Throws:
IOException
-
style
Description copied from interface:StyleWrites the given CSS stylesheet with proper encoding.Adds prefixes and suffixes by media type, such as
<style>…</style>.- Specified by:
stylein interfaceStyle- Returns:
thiswriter- Throws:
IOException
-
style
Description copied from interface:StyleWrites the given CSS stylesheet with proper encoding.Adds prefixes and suffixes by media type, such as
<style>…</style>.If the string is translated, comments will be added giving the translation lookup id to aid in translation of server-translated values.
- Specified by:
stylein interfaceStyle- Returns:
thiswriter- Throws:
IOException
-
style
Description copied from interface:StyleWrites the given CSS stylesheet with proper encoding.Adds prefixes and suffixes by media type, such as
<style>…</style>.If the string is translated, comments will be added giving the translation lookup id to aid in translation of server-translated values.
- Specified by:
stylein interfaceStyle- Returns:
thiswriter- Throws:
IOException
-
style
Description copied from interface:StyleWrites the given CSS stylesheet with proper encoding.Adds prefixes and suffixes by media type, such as
<style>…</style>.If the string is translated, comments will be added giving the translation lookup id to aid in translation of server-translated values.
- Specified by:
stylein interfaceStyle- Returns:
thiswriter- Throws:
IOException
-
style
Description copied from interface:StyleWrites the given CSS stylesheet with proper encoding.Adds prefixes and suffixes by media type, such as
<style>…</style>.If the string is translated, comments will be added giving the translation lookup id to aid in translation of server-translated values.
- Specified by:
stylein interfaceStyle- Type Parameters:
Ex- An arbitrary exception type that may be thrown- Returns:
thiswriter- Throws:
IOExceptionEx
-
style
Description copied from interface:StyleWrites the given CSS stylesheet with proper encoding.Adds prefixes and suffixes by media type, such as
<style>…</style>.Does not perform any translation markups.
- Specified by:
stylein interfaceStyle- Type Parameters:
Ex- An arbitrary exception type that may be thrown- Returns:
thiswriter- Throws:
IOExceptionEx
-
javascript
Description copied from interface:JavaScriptWrites the given JavaScript with proper encoding.Adds prefixes and suffixes by media type, such as
<script>…</script>.- Specified by:
javascriptin interfaceJavaScript- Returns:
thiswriter- Throws:
IOException
-
javascript
Description copied from interface:JavaScriptWrites the given JavaScript with proper encoding.Adds prefixes and suffixes by media type, such as
<script>…</script>.- Specified by:
javascriptin interfaceJavaScript- Returns:
thiswriter- Throws:
IOException
-
javascript
Description copied from interface:JavaScriptWrites the given JavaScript with proper encoding.Adds prefixes and suffixes by media type, such as
<script>…</script>.- Specified by:
javascriptin interfaceJavaScript- Returns:
thiswriter- Throws:
IOException
-
javascript
Description copied from interface:JavaScriptWrites the given JavaScript with proper encoding.Adds prefixes and suffixes by media type, such as
<script>…</script>.If the string is translated, comments will be added giving the translation lookup id to aid in translation of server-translated values.
- Specified by:
javascriptin interfaceJavaScript- Returns:
thiswriter- Throws:
IOException
-
javascript
Description copied from interface:JavaScriptWrites the given JavaScript with proper encoding.Adds prefixes and suffixes by media type, such as
<script>…</script>.If the string is translated, comments will be added giving the translation lookup id to aid in translation of server-translated values.
- Specified by:
javascriptin interfaceJavaScript- Returns:
thiswriter- Throws:
IOException
-
javascript
Description copied from interface:JavaScriptWrites the given JavaScript with proper encoding.Adds prefixes and suffixes by media type, such as
<script>…</script>.If the string is translated, comments will be added giving the translation lookup id to aid in translation of server-translated values.
- Specified by:
javascriptin interfaceJavaScript- Returns:
thiswriter- Throws:
IOException
-
javascript
public <Ex extends Throwable> TextWriter javascript(IOSupplierE<?, Ex> javascript) throws IOException, ExDescription copied from interface:JavaScriptWrites the given JavaScript with proper encoding.Adds prefixes and suffixes by media type, such as
<script>…</script>.If the string is translated, comments will be added giving the translation lookup id to aid in translation of server-translated values.
- Specified by:
javascriptin interfaceJavaScript- Type Parameters:
Ex- An arbitrary exception type that may be thrown- Returns:
thiswriter- Throws:
IOExceptionEx
-
javascript
public <Ex extends Throwable> TextWriter javascript(JavaScriptWritable<Ex> javascript) throws IOException, Ex Description copied from interface:JavaScriptWrites the given JavaScript with proper encoding.Adds prefixes and suffixes by media type, such as
<script>…</script>.Does not perform any translation markups.
- Specified by:
javascriptin interfaceJavaScript- Type Parameters:
Ex- An arbitrary exception type that may be thrown- Returns:
thiswriter- Throws:
IOExceptionEx
-
json
Description copied from interface:JsonWrites the given JSON object graph with proper encoding.Adds prefixes and suffixes by media type, such as
<script type="application/json">…</script>.- Specified by:
jsonin interfaceJson- Returns:
thiswriter- Throws:
IOException
-
json
Description copied from interface:JsonWrites the given JSON object graph with proper encoding.Adds prefixes and suffixes by media type, such as
<script type="application/json">…</script>.- Specified by:
jsonin interfaceJson- Returns:
thiswriter- Throws:
IOException
-
json
Description copied from interface:JsonWrites the given JSON object graph with proper encoding.Adds prefixes and suffixes by media type, such as
<script type="application/json">…</script>.- Specified by:
jsonin interfaceJson- Returns:
thiswriter- Throws:
IOException
-
json
Description copied from interface:JsonWrites the given JSON object graph with proper encoding.Adds prefixes and suffixes by media type, such as
<script type="application/json">…</script>.If the string is translated, comments will be added giving the translation lookup id to aid in translation of server-translated values.
- Specified by:
jsonin interfaceJson- Returns:
thiswriter- Throws:
IOException
-
json
Description copied from interface:JsonWrites the given JSON object graph with proper encoding.Adds prefixes and suffixes by media type, such as
<script type="application/json">…</script>.If the string is translated, comments will be added giving the translation lookup id to aid in translation of server-translated values.
- Specified by:
jsonin interfaceJson- Returns:
thiswriter- Throws:
IOException
-
json
Description copied from interface:JsonWrites the given JSON object graph with proper encoding.Adds prefixes and suffixes by media type, such as
<script type="application/json">…</script>.If the string is translated, comments will be added giving the translation lookup id to aid in translation of server-translated values.
- Specified by:
jsonin interfaceJson- Returns:
thiswriter- Throws:
IOException
-
json
Description copied from interface:JsonWrites the given JSON object graph with proper encoding.Adds prefixes and suffixes by media type, such as
<script type="application/json">…</script>.If the string is translated, comments will be added giving the translation lookup id to aid in translation of server-translated values.
- Specified by:
jsonin interfaceJson- Type Parameters:
Ex- An arbitrary exception type that may be thrown- Returns:
thiswriter- Throws:
IOExceptionEx
-
json
Description copied from interface:JsonWrites the given JSON object graph with proper encoding.Adds prefixes and suffixes by media type, such as
<script type="application/json">…</script>.Does not perform any translation markups.
- Specified by:
jsonin interfaceJson- Type Parameters:
Ex- An arbitrary exception type that may be thrown- Returns:
thiswriter- Throws:
IOExceptionEx
-
ldJson
Description copied from interface:LdJsonWrites the given JSON linked data with proper encoding.Adds prefixes and suffixes by media type, such as
<script type="application/ld+json">…</script>.- Specified by:
ldJsonin interfaceLdJson- Returns:
thiswriter- Throws:
IOException
-
ldJson
Description copied from interface:LdJsonWrites the given JSON linked data with proper encoding.Adds prefixes and suffixes by media type, such as
<script type="application/ld+json">…</script>.- Specified by:
ldJsonin interfaceLdJson- Returns:
thiswriter- Throws:
IOException
-
ldJson
Description copied from interface:LdJsonWrites the given JSON linked data with proper encoding.Adds prefixes and suffixes by media type, such as
<script type="application/ld+json">…</script>.- Specified by:
ldJsonin interfaceLdJson- Returns:
thiswriter- Throws:
IOException
-
ldJson
Description copied from interface:LdJsonWrites the given JSON linked data with proper encoding.Adds prefixes and suffixes by media type, such as
<script type="application/ld+json">…</script>.If the string is translated, comments will be added giving the translation lookup id to aid in translation of server-translated values.
- Specified by:
ldJsonin interfaceLdJson- Returns:
thiswriter- Throws:
IOException
-
ldJson
Description copied from interface:LdJsonWrites the given JSON linked data with proper encoding.Adds prefixes and suffixes by media type, such as
<script type="application/ld+json">…</script>.If the string is translated, comments will be added giving the translation lookup id to aid in translation of server-translated values.
- Specified by:
ldJsonin interfaceLdJson- Returns:
thiswriter- Throws:
IOException
-
ldJson
Description copied from interface:LdJsonWrites the given JSON linked data with proper encoding.Adds prefixes and suffixes by media type, such as
<script type="application/ld+json">…</script>.If the string is translated, comments will be added giving the translation lookup id to aid in translation of server-translated values.
- Specified by:
ldJsonin interfaceLdJson- Returns:
thiswriter- Throws:
IOException
-
ldJson
Description copied from interface:LdJsonWrites the given JSON linked data with proper encoding.Adds prefixes and suffixes by media type, such as
<script type="application/ld+json">…</script>.If the string is translated, comments will be added giving the translation lookup id to aid in translation of server-translated values.
- Specified by:
ldJsonin interfaceLdJson- Type Parameters:
Ex- An arbitrary exception type that may be thrown- Returns:
thiswriter- Throws:
IOExceptionEx
-
ldJson
Description copied from interface:LdJsonWrites the given JSON linked data with proper encoding.Adds prefixes and suffixes by media type, such as
<script type="application/ld+json">…</script>.Does not perform any translation markups.
- Specified by:
ldJsonin interfaceLdJson- Type Parameters:
Ex- An arbitrary exception type that may be thrown- Returns:
thiswriter- Throws:
IOExceptionEx
-
nbsp
Description copied from interface:Text- Specified by:
nbspin interfaceText- Returns:
thiswriter- Throws:
IOException- See Also:
-
nbsp
Description copied from interface:TextWrites the given number of non-breaking space characters.- Specified by:
nbspin interfaceText- Parameters:
count- Whencount <= 0, nothing is written.- Returns:
thiswriter- Throws:
IOException- See Also:
-
text
Deprecated.Already writing text- Specified by:
textin interfaceText- Returns:
thiswriter- Throws:
IOException
-
text
Deprecated.Already writing text- Specified by:
textin interfaceText- Returns:
thiswriter- Throws:
IOException
-
text
Deprecated.Already writing text- Specified by:
textin interfaceText- Returns:
thiswriter- Throws:
IOException
-
text
Deprecated.Already writing textWrites the given text with proper encoding.Adds prefixes and suffixes by media type, such as
"…".If the string is translated, comments will be added giving the translation lookup id to aid in translation of server-translated values.
- Specified by:
textin interfaceText- Returns:
thiswriter- Throws:
IOException
-
text
Deprecated.Already writing textWrites the given text with proper encoding.Adds prefixes and suffixes by media type, such as
"…".If the string is translated, comments will be added giving the translation lookup id to aid in translation of server-translated values.
- Specified by:
textin interfaceText- Returns:
thiswriter- Throws:
IOException
-
text
Deprecated.Already writing textWrites the given text with proper encoding.Adds prefixes and suffixes by media type, such as
"…".If the string is translated, comments will be added giving the translation lookup id to aid in translation of server-translated values.
- Specified by:
textin interfaceText- Returns:
thiswriter- Throws:
IOException
-
text
@Deprecated public <Ex extends Throwable> TextWriter text(IOSupplierE<?, Ex> text) throws IOException, ExDeprecated.Already writing textWrites the given text with proper encoding.Adds prefixes and suffixes by media type, such as
"…".If the string is translated, comments will be added giving the translation lookup id to aid in translation of server-translated values.
- Specified by:
textin interfaceText- Type Parameters:
Ex- An arbitrary exception type that may be thrown- Returns:
thiswriter- Throws:
IOExceptionEx
-
text
@Deprecated public <Ex extends Throwable> TextWriter text(TextWritable<Ex> text) throws IOException, Ex Deprecated.Already writing textWrites the given text with proper encoding.Adds prefixes and suffixes by media type, such as
"…".Does not perform any translation markups.
- Specified by:
textin interfaceText- Type Parameters:
Ex- An arbitrary exception type that may be thrown- Returns:
thiswriter- Throws:
IOExceptionEx
-
text
Deprecated.Already writing textWrites the given text with proper encoding. This is well suited for use in a try-with-resources block.Adds prefixes and suffixes by media type, such as
"…".Does not perform any translation markups.
- Specified by:
textin interfaceText- Returns:
- A new writer that may be used for arbitrary text.
This writer must be closed for completed calls to
MediaEncoder.writeSuffixTo(java.lang.Appendable, boolean). - Throws:
IOException
-
url
Description copied from interface:UrlWrites the given RFC 3986 URI or RFC 3987 IRI with proper encoding.- Specified by:
urlin interfaceUrl- Returns:
thiswriter- Throws:
IOException
-
url
Description copied from interface:UrlWrites the given RFC 3986 URI or RFC 3987 IRI with proper encoding.- Specified by:
urlin interfaceUrl- Returns:
thiswriter- Throws:
IOException
-
url
Description copied from interface:UrlWrites the given RFC 3986 URI or RFC 3987 IRI with proper encoding.- Specified by:
urlin interfaceUrl- Returns:
thiswriter- Throws:
IOException
-
url
Description copied from interface:UrlWrites the given RFC 3986 URI or RFC 3987 IRI with proper encoding.Adds prefixes and suffixes by media type, such as
"…".If the string is translated, comments will be added giving the translation lookup id to aid in translation of server-translated values.
- Specified by:
urlin interfaceUrl- Returns:
thiswriter- Throws:
IOException
-
url
Description copied from interface:UrlWrites the given RFC 3986 URI or RFC 3987 IRI with proper encoding.Adds prefixes and suffixes by media type, such as
"…".If the string is translated, comments will be added giving the translation lookup id to aid in translation of server-translated values.
- Specified by:
urlin interfaceUrl- Returns:
thiswriter- Throws:
IOException
-
url
Description copied from interface:UrlWrites the given RFC 3986 URI or RFC 3987 IRI with proper encoding.Adds prefixes and suffixes by media type, such as
"…".If the string is translated, comments will be added giving the translation lookup id to aid in translation of server-translated values.
- Specified by:
urlin interfaceUrl- Returns:
thiswriter- Throws:
IOException
-
url
Description copied from interface:UrlWrites the given RFC 3986 URI or RFC 3987 IRI with proper encoding.Adds prefixes and suffixes by media type, such as
"…".If the string is translated, comments will be added giving the translation lookup id to aid in translation of server-translated values.
- Specified by:
urlin interfaceUrl- Type Parameters:
Ex- An arbitrary exception type that may be thrown- Returns:
thiswriter- Throws:
IOExceptionEx
-
url
Description copied from interface:UrlWrites the given RFC 3986 URI or RFC 3987 IRI with proper encoding.Adds prefixes and suffixes by media type, such as
"…".Does not perform any translation markups.
- Specified by:
urlin interfaceUrl- Type Parameters:
Ex- An arbitrary exception type that may be thrown- Returns:
thiswriter- Throws:
IOExceptionEx
-
sh
Description copied from interface:Sh- Specified by:
shin interfaceSh- Returns:
thiswriter- Throws:
IOException
-
sh
Description copied from interface:Sh- Specified by:
shin interfaceSh- Returns:
thiswriter- Throws:
IOException
-
sh
Description copied from interface:Sh- Specified by:
shin interfaceSh- Returns:
thiswriter- Throws:
IOException
-
sh
Description copied from interface:ShWrites the given shell script with proper encoding.Adds prefixes and suffixes by media type.
If the string is translated, comments will be added giving the translation lookup id to aid in translation of server-translated values.
- Specified by:
shin interfaceSh- Returns:
thiswriter- Throws:
IOException
-
sh
Description copied from interface:ShWrites the given shell script with proper encoding.Adds prefixes and suffixes by media type.
If the string is translated, comments will be added giving the translation lookup id to aid in translation of server-translated values.
- Specified by:
shin interfaceSh- Returns:
thiswriter- Throws:
IOException
-
sh
Description copied from interface:ShWrites the given shell script with proper encoding.Adds prefixes and suffixes by media type.
If the string is translated, comments will be added giving the translation lookup id to aid in translation of server-translated values.
- Specified by:
shin interfaceSh- Returns:
thiswriter- Throws:
IOException
-
sh
Description copied from interface:ShWrites the given shell script with proper encoding.Adds prefixes and suffixes by media type.
If the string is translated, comments will be added giving the translation lookup id to aid in translation of server-translated values.
- Specified by:
shin interfaceSh- Type Parameters:
Ex- An arbitrary exception type that may be thrown- Returns:
thiswriter- Throws:
IOExceptionEx
-
sh
Description copied from interface:ShWrites the given shell script with proper encoding.Adds prefixes and suffixes by media type.
Does not perform any translation markups.
- Specified by:
shin interfaceSh- Type Parameters:
Ex- An arbitrary exception type that may be thrown- Returns:
thiswriter- Throws:
IOExceptionEx
-
mysql
Description copied from interface:MysqlWrites the givenmysqlcommand input with proper encoding.- Specified by:
mysqlin interfaceMysql- Returns:
thiswriter- Throws:
IOException
-
mysql
Description copied from interface:MysqlWrites the givenmysqlcommand input with proper encoding.- Specified by:
mysqlin interfaceMysql- Returns:
thiswriter- Throws:
IOException
-
mysql
Description copied from interface:MysqlWrites the givenmysqlcommand input with proper encoding.- Specified by:
mysqlin interfaceMysql- Returns:
thiswriter- Throws:
IOException
-
mysql
Description copied from interface:MysqlWrites the givenmysqlcommand input with proper encoding.Adds prefixes and suffixes by media type.
If the string is translated, comments will be added giving the translation lookup id to aid in translation of server-translated values.
- Specified by:
mysqlin interfaceMysql- Returns:
thiswriter- Throws:
IOException
-
mysql
Description copied from interface:MysqlWrites the givenmysqlcommand input with proper encoding.Adds prefixes and suffixes by media type.
If the string is translated, comments will be added giving the translation lookup id to aid in translation of server-translated values.
- Specified by:
mysqlin interfaceMysql- Returns:
thiswriter- Throws:
IOException
-
mysql
Description copied from interface:MysqlWrites the givenmysqlcommand input with proper encoding.Adds prefixes and suffixes by media type.
If the string is translated, comments will be added giving the translation lookup id to aid in translation of server-translated values.
- Specified by:
mysqlin interfaceMysql- Returns:
thiswriter- Throws:
IOException
-
mysql
Description copied from interface:MysqlWrites the givenmysqlcommand input with proper encoding.Adds prefixes and suffixes by media type.
If the string is translated, comments will be added giving the translation lookup id to aid in translation of server-translated values.
- Specified by:
mysqlin interfaceMysql- Type Parameters:
Ex- An arbitrary exception type that may be thrown- Returns:
thiswriter- Throws:
IOExceptionEx
-
mysql
Description copied from interface:MysqlWrites the givenmysqlcommand input with proper encoding.Adds prefixes and suffixes by media type.
Does not perform any translation markups.
- Specified by:
mysqlin interfaceMysql- Type Parameters:
Ex- An arbitrary exception type that may be thrown- Returns:
thiswriter- Throws:
IOExceptionEx
-
psql
Description copied from interface:Psql- Specified by:
psqlin interfacePsql- Returns:
thiswriter- Throws:
IOException
-
psql
Description copied from interface:Psql- Specified by:
psqlin interfacePsql- Returns:
thiswriter- Throws:
IOException
-
psql
Description copied from interface:Psql- Specified by:
psqlin interfacePsql- Returns:
thiswriter- Throws:
IOException
-
psql
Description copied from interface:PsqlWrites the givenpsqlcommand input with proper encoding.Adds prefixes and suffixes by media type.
If the string is translated, comments will be added giving the translation lookup id to aid in translation of server-translated values.
- Specified by:
psqlin interfacePsql- Returns:
thiswriter- Throws:
IOException
-
psql
Description copied from interface:PsqlWrites the givenpsqlcommand input with proper encoding.Adds prefixes and suffixes by media type.
If the string is translated, comments will be added giving the translation lookup id to aid in translation of server-translated values.
- Specified by:
psqlin interfacePsql- Returns:
thiswriter- Throws:
IOException
-
psql
Description copied from interface:PsqlWrites the givenpsqlcommand input with proper encoding.Adds prefixes and suffixes by media type.
If the string is translated, comments will be added giving the translation lookup id to aid in translation of server-translated values.
- Specified by:
psqlin interfacePsql- Returns:
thiswriter- Throws:
IOException
-
psql
Description copied from interface:PsqlWrites the givenpsqlcommand input with proper encoding.Adds prefixes and suffixes by media type.
If the string is translated, comments will be added giving the translation lookup id to aid in translation of server-translated values.
- Specified by:
psqlin interfacePsql- Type Parameters:
Ex- An arbitrary exception type that may be thrown- Returns:
thiswriter- Throws:
IOExceptionEx
-
psql
Description copied from interface:PsqlWrites the givenpsqlcommand input with proper encoding.Adds prefixes and suffixes by media type.
Does not perform any translation markups.
- Specified by:
psqlin interfacePsql- Type Parameters:
Ex- An arbitrary exception type that may be thrown- Returns:
thiswriter- Throws:
IOExceptionEx
-
