Class EncoderBase<E>

    • Field Detail

      • started

        protected boolean started
    • Constructor Detail

      • EncoderBase

        public EncoderBase()
    • Method Detail

      • init

        public void init(OutputStream os)
                  throws IOException
        Description copied from interface: Encoder
        This method is called when the owning appender starts or whenever output needs to be directed to a new OutputStream, for instance as a result of a rollover. Implementing encoders should at the very least remember the OutputStream passed as argument and use it in future operations.
        Specified by:
        init in interface  Encoder<E>
        Throws:
        IOException -
      • isStarted

        public boolean isStarted()
      • start

        public void start()
      • stop

        public void stop()