Reusable Java library of general tools with minimal external dependencies.
For questions or support, please contact us:
Email: support@aoindustries.com
Phone: 1-800-519-9541
Phone: +1-251-607-9556
Web: https://www.aoindustries.com/contact
@Deprecated public final class EncodingUtils extends Object
| Modifier and Type | Method and Description |
|---|---|
static void |
encodeHtml(char ch,
Appendable out)
Deprecated.
the effects of makeBr and makeNbsp should be handled by CSS white-space property.
|
static void |
encodeHtml(char ch,
boolean make_br,
boolean make_nbsp,
Appendable out)
Deprecated.
the effects of makeBr and makeNbsp should be handled by CSS white-space property.
|
static void |
encodeHtml(CharSequence S,
int start,
int end,
Appendable out)
Deprecated.
the effects of makeBr and makeNbsp should be handled by CSS white-space property.
|
static void |
encodeHtml(CharSequence S,
int start,
int end,
boolean make_br,
boolean make_nbsp,
Appendable out)
Deprecated.
the effects of makeBr and makeNbsp should be handled by CSS white-space property.
|
static String |
encodeHtml(Object value)
Deprecated.
the effects of makeBr and makeNbsp should be handled by CSS white-space property.
|
static void |
encodeHtml(Object value,
Appendable out)
Deprecated.
the effects of makeBr and makeNbsp should be handled by CSS white-space property.
|
static String |
encodeHtml(Object value,
boolean make_br,
boolean make_nbsp)
Deprecated.
the effects of makeBr and makeNbsp should be handled by CSS white-space property.
|
static void |
encodeHtml(Object value,
boolean make_br,
boolean make_nbsp,
Appendable out)
Deprecated.
the effects of makeBr and makeNbsp should be handled by CSS white-space property.
|
static String |
toString(Object value)
Deprecated.
Use Coercion.toString(Object) instead.
|
@Deprecated public static String toString(Object value)
@Deprecated public static void encodeHtml(Object value, Appendable out) throws IOException
Appendable.
In addition to the standard XML Body encoding, it turns newlines into <br />, tabs to 	, and spaces to  value - the object to be escaped. If value is null, nothing is written.IOExceptionTextInXhtmlEncoder@Deprecated public static void encodeHtml(CharSequence S, int start, int end, Appendable out) throws IOException
Appendable.
In addition to the standard XML Body encoding, it turns newlines into <br /> and spaces to  S - the string to be escaped. If S is null, nothing is written.IOExceptionTextInXhtmlEncoder@Deprecated public static String encodeHtml(Object value) throws IOException
IOExceptionTextInXhtmlEncoder@Deprecated public static void encodeHtml(char ch, Appendable out) throws IOException
IOExceptionTextInXhtmlEncoder@Deprecated public static void encodeHtml(Object value, boolean make_br, boolean make_nbsp, Appendable out) throws IOException
IOExceptionTextInXhtmlEncoder@Deprecated public static void encodeHtml(CharSequence S, int start, int end, boolean make_br, boolean make_nbsp, Appendable out) throws IOException
Appendable.
Optionally, it turns newlines into <br /> and spaces to  
Any characters less than 0x1f that are not \t, \r, or \n are completely filtered.S - the string to be escaped. If S is null, nothing is written.make_br - will write <br /> tags for every newline charactermake_nbsp - will write   for a space when another space followsIOExceptionTextInXhtmlEncoder@Deprecated public static String encodeHtml(Object value, boolean make_br, boolean make_nbsp) throws IOException
value - the string to be escaped.IOExceptionTextInXhtmlEncoder@Deprecated public static void encodeHtml(char ch, boolean make_br, boolean make_nbsp, Appendable out) throws IOException
IOExceptionTextInXhtmlEncoderCopyright © 2000–2016 AO Industries, Inc.. All rights reserved.