Package org.owasp.html.examples
Class UrlTextExample
- java.lang.Object
-
- org.owasp.html.examples.UrlTextExample
-
public class UrlTextExample extends Object
Uses a custom event receiver to emit the domain of a link or inline image after the link or image.
-
-
Constructor Summary
Constructors Constructor Description UrlTextExample()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
main(String... argv)
Sanitizes each of its inputs (argv) and writes them to stdout with a line-break after each one.static void
run(Appendable out, String... inputs)
Sanitizes inputs to out.
-
-
-
Method Detail
-
run
public static void run(Appendable out, String... inputs) throws IOException
Sanitizes inputs to out.- Throws:
IOException
-
main
public static void main(String... argv) throws IOException
Sanitizes each of its inputs (argv) and writes them to stdout with a line-break after each one.- Throws:
IOException
-
-