Class Escape


  • public class Escape
    extends Object
    • Field Detail

      • MAX_UTF_MAPPABLE_CODEPOINT

        public static final int MAX_UTF_MAPPABLE_CODEPOINT
        See Also:
        Constant Field Values
      • value

        protected char[] value
      • mappableLimit

        protected int mappableLimit
      • allowControlCharacters

        protected boolean allowControlCharacters
      • useCDATA

        protected boolean useCDATA
      • NUL

        protected final char[] NUL
      • SOH

        protected final char[] SOH
      • STX

        protected final char[] STX
      • ETX

        protected final char[] ETX
      • EOT

        protected final char[] EOT
      • ENQ

        protected final char[] ENQ
      • ACK

        protected final char[] ACK
      • BEL

        protected final char[] BEL
      • BS

        protected final char[] BS
      • TAB

        protected final char[] TAB
      • LF

        protected final char[] LF
      • VT

        protected final char[] VT
      • FF

        protected final char[] FF
      • CR

        protected final char[] CR
      • SO

        protected final char[] SO
      • SI

        protected final char[] SI
      • DLE

        protected final char[] DLE
      • DC1

        protected final char[] DC1
      • DC2

        protected final char[] DC2
      • DC3

        protected final char[] DC3
      • DC4

        protected final char[] DC4
      • NAK

        protected final char[] NAK
      • SYN

        protected final char[] SYN
      • ETB

        protected final char[] ETB
      • CAN

        protected final char[] CAN
      • EM

        protected final char[] EM
      • SUB

        protected final char[] SUB
      • ESC

        protected final char[] ESC
      • FS

        protected final char[] FS
      • GS

        protected final char[] GS
      • RS

        protected final char[] RS
      • US

        protected final char[] US
      • CONTROL_CHARACTERS

        protected final char[][] CONTROL_CHARACTERS
      • AMP

        protected final char[] AMP
      • LESS

        protected final char[] LESS
      • GREATER

        protected final char[] GREATER
      • QUOTE

        protected final char[] QUOTE
      • LINE_FEED

        protected final char[] LINE_FEED
    • Constructor Detail

      • Escape

        public Escape()
    • Method Detail

      • setMappingLimit

        public void setMappingLimit​(int mappingLimit)
      • setAllowControlCharacters

        public void setAllowControlCharacters​(boolean allowControlCharacters)
      • setUseCDATA

        public void setUseCDATA​(boolean useCDATA)
      • convertLines

        public String convertLines​(String input)
      • replaceChars

        protected int replaceChars​(int pos,
                                   char[] replacement,
                                   int inputLength)
      • grow

        protected void grow​(int newSize)