Uses of Class
com.aoapps.encoding.ChainWriter
-
Uses of ChainWriter in com.aoapps.encoding
Modifier and TypeMethodDescriptionChainWriter.append
(char c) ChainWriter.append
(CharSequence csq) ChainWriter.append
(CharSequence csq, int start, int end) ChainWriter.encodeHtml
(Object value, boolean isXhtml) Deprecated.the effects of makeBr and makeNbsp should be handled by CSS white-space property.ChainWriter.encodeHtml
(Object value, boolean makeBr, boolean makeNbsp, boolean isXhtml) Deprecated.the effects of makeBr and makeNbsp should be handled by CSS white-space property.ChainWriter.flush()
Flushes the stream.ChainWriter.print
(boolean b) Print a boolean value.ChainWriter.print
(char c) Print a character.ChainWriter.print
(char[] s) Print an array of characters.ChainWriter.print
(double d) Print a double-precision floating-point number.ChainWriter.print
(float f) Print a floating-point number.ChainWriter.print
(int i) Print an integer.ChainWriter.print
(long l) Print a long integer.Print an object.Print a string.ChainWriter.println()
Terminate the current line by writing the line separator string.ChainWriter.println
(boolean x) Print a boolean value and then terminate the line.ChainWriter.println
(char x) Print a character and then terminate the line.ChainWriter.println
(char[] x) Print an array of characters and then terminate the line.ChainWriter.println
(double x) Print a double-precision floating-point number and then terminate the line.ChainWriter.println
(float x) Print a floating-point number and then terminate the line.ChainWriter.println
(int x) Print an integer and then terminate the line.ChainWriter.println
(long x) Print a long integer and then terminate the line.Print an Object and then terminate the line.Print a String and then terminate the line.ChainWriter.textInJavascript
(Object value) Encodes a javascript string.ChainWriter.textInJavascriptInXhtml
(Object value) Encodes a javascript string for use in an XML body CDATA context.ChainWriter.textInJavascriptInXmlAttribute
(Object value) Encodes a javascript string for use in an XML attribute context.ChainWriter.textInMysql
(Object value) Encodes a MySQL string.ChainWriter.textInPsql
(Object value) Encodes a psql string.Encodes a sh string.ChainWriter.textInXhtml
(Object value) ChainWriter.textInXmlAttribute
(Object value) ChainWriter.write
(char[] buf) Write an array of characters.ChainWriter.write
(char[] buf, int off, int len) Write a portion of an array of characters.ChainWriter.write
(int c) Write a single character.Write a string.Write a portion of a string.ChainWriter.writeHtmlColor
(int color) Prints a color in HTML format #xxxxxx, where xxxxxx is the hex code.