void encoderClose() { if (encoder != null && this.outputStream != null) { try { encoder.close(); } catch (IOException ioe) { this.started = false; addStatus( new ErrorStatus( "Failed to write footer for appender named [" + name + "].", this, ioe)); } } }
void encoderInit() { if (encoder != null && this.outputStream != null) { try { encoder.init(outputStream); } catch (IOException ioe) { this.started = false; addStatus( new ErrorStatus( "Failed to initialize encoder for appender named [" + name + "].", this, ioe)); } } }