Class PropertiesBackedGenerator

  • All Implemented Interfaces:
    com.fasterxml.jackson.core.Versioned, java.io.Closeable, java.io.Flushable, java.lang.AutoCloseable

    public class PropertiesBackedGenerator
    extends JavaPropsGenerator
    • Field Detail

      • _props

        protected final java.util.Properties _props
        Underlying Properties that we will update with logical properties written out.
    • Constructor Detail

      • PropertiesBackedGenerator

        public PropertiesBackedGenerator​(com.fasterxml.jackson.core.io.IOContext ctxt,
                                         java.util.Properties props,
                                         int stdFeatures,
                                         com.fasterxml.jackson.core.ObjectCodec codec)
    • Method Detail

      • getOutputTarget

        public java.lang.Object getOutputTarget()
        Overrides:
        getOutputTarget in class com.fasterxml.jackson.core.JsonGenerator
      • close

        public void close()
                   throws java.io.IOException
        Specified by:
        close in interface java.lang.AutoCloseable
        Specified by:
        close in interface java.io.Closeable
        Overrides:
        close in class com.fasterxml.jackson.core.base.GeneratorBase
        Throws:
        java.io.IOException
      • flush

        public void flush()
                   throws java.io.IOException
        Specified by:
        flush in interface java.io.Flushable
        Specified by:
        flush in class com.fasterxml.jackson.core.base.GeneratorBase
        Throws:
        java.io.IOException
      • _releaseBuffers

        protected void _releaseBuffers()
        Specified by:
        _releaseBuffers in class com.fasterxml.jackson.core.base.GeneratorBase
      • _writeEscapedEntry

        protected void _writeEscapedEntry​(char[] text,
                                          int offset,
                                          int len)
                                   throws java.io.IOException
        Specified by:
        _writeEscapedEntry in class JavaPropsGenerator
        Throws:
        java.io.IOException
      • _writeEscapedEntry

        protected void _writeEscapedEntry​(java.lang.String value)
                                   throws java.io.IOException
        Specified by:
        _writeEscapedEntry in class JavaPropsGenerator
        Throws:
        java.io.IOException
      • _writeUnescapedEntry

        protected void _writeUnescapedEntry​(java.lang.String value)
                                     throws java.io.IOException
        Specified by:
        _writeUnescapedEntry in class JavaPropsGenerator
        Throws:
        java.io.IOException
      • _writeRaw

        protected void _writeRaw​(char c)
                          throws java.io.IOException
        Specified by:
        _writeRaw in class JavaPropsGenerator
        Throws:
        java.io.IOException
      • _writeRaw

        protected void _writeRaw​(java.lang.String text)
                          throws java.io.IOException
        Specified by:
        _writeRaw in class JavaPropsGenerator
        Throws:
        java.io.IOException
      • _writeRaw

        protected void _writeRaw​(java.lang.StringBuilder text)
                          throws java.io.IOException
        Specified by:
        _writeRaw in class JavaPropsGenerator
        Throws:
        java.io.IOException
      • _writeRaw

        protected void _writeRaw​(char[] text,
                                 int offset,
                                 int len)
                          throws java.io.IOException
        Specified by:
        _writeRaw in class JavaPropsGenerator
        Throws:
        java.io.IOException
      • _writeRawLong

        protected void _writeRawLong​(java.lang.String text)
                              throws java.io.IOException
        Throws:
        java.io.IOException
      • _writeRawLong

        protected void _writeRawLong​(java.lang.StringBuilder text)
                              throws java.io.IOException
        Throws:
        java.io.IOException