java.lang.Object
io.github.mmm.scanner.CharEscapeHelper
Simple static helper for dealing with escaped characters.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
CharEscapeHelper
public CharEscapeHelper()
-
-
Method Details
-
resolveEscape
- Parameters:
c- the character that was escaped (e.g. 't' for tab, 'n' for line feed, 'r' for carriage return, '0' for NUL, etc.)- Returns:
- the resolved (unescaped) character according to JLS 3.10.6 or
nullfor invalid escape character.
-