com.fasterxml.jackson.core.util

Class BufferRecyclers



  • public class BufferRecyclers
    extends Object
    Helper entity used to control access to simple buffer recyling scheme used for some encoding, decoding tasks.
    Since:
    2.9.2
    See Also:
    BufferRecycler, JsonStringEncoder
    • Constructor Detail

      • BufferRecyclers

        public BufferRecyclers()
    • Method Detail

      • getBufferRecycler

        public static BufferRecycler getBufferRecycler()
      • encodeAsUTF8

        public static byte[] encodeAsUTF8(String text)
        Helper method for encoding given String as UTF-8 encoded
        Since:
        2.9.4
      • quoteAsJsonText

        public static char[] quoteAsJsonText(String rawText)
        Since:
        2.9.4
      • quoteAsJsonUTF8

        public static byte[] quoteAsJsonUTF8(String rawText)
        Since:
        2.9.4

Copyright © 2008–2018 FasterXML. All rights reserved.