Package | Description |
---|---|
org.unbescape.javascript |
Modifier and Type | Method | Description |
---|---|---|
static JavaScriptEscapeLevel |
JavaScriptEscapeLevel.forLevel(int level) |
Utility method for obtaining an enum value from its corresponding int level value.
|
static JavaScriptEscapeLevel |
JavaScriptEscapeLevel.valueOf(String name) |
Returns the enum constant of this type with the specified name.
|
static JavaScriptEscapeLevel[] |
JavaScriptEscapeLevel.values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method | Description |
---|---|---|
static void |
JavaScriptEscape.escapeJavaScript(char[] text,
int offset,
int len,
java.io.Writer writer,
JavaScriptEscapeType type,
JavaScriptEscapeLevel level) |
Perform a (configurable) JavaScript escape operation on a char[] input.
|
static void |
JavaScriptEscape.escapeJavaScript(java.io.Reader reader,
java.io.Writer writer,
JavaScriptEscapeType type,
JavaScriptEscapeLevel level) |
Perform a (configurable) JavaScript escape operation on a Reader input,
writing results to a Writer.
|
static void |
JavaScriptEscape.escapeJavaScript(String text,
java.io.Writer writer,
JavaScriptEscapeType type,
JavaScriptEscapeLevel level) |
Perform a (configurable) JavaScript escape operation on a String input,
writing results to a Writer.
|
static String |
JavaScriptEscape.escapeJavaScript(String text,
JavaScriptEscapeType type,
JavaScriptEscapeLevel level) |
Perform a (configurable) JavaScript escape operation on a String input.
|
Copyright © 2018 The UNBESCAPE team. All rights reserved.