public static class EscapeSequence.Builder extends Object
EscapeSequence
.Modifier and Type | Method and Description |
---|---|
EscapeSequence.Builder |
addLineSeparator()
Adds a mapping about line separators.
|
EscapeSequence.Builder |
addMapping(char from,
char to)
Adds a mapping.
|
EscapeSequence.Builder |
addNullMapping(char from)
Adds a mapping to
NULL . |
EscapeSequence |
build()
Builds
EscapeSequence . |
public EscapeSequence.Builder addMapping(char from, char to)
from
- the original characterto
- the replacement characterpublic EscapeSequence.Builder addNullMapping(char from)
NULL
.from
- the original characterpublic EscapeSequence.Builder addLineSeparator()
public EscapeSequence build()
EscapeSequence
.Copyright © 2011–2019 Asakusa Framework Team. All rights reserved.