protected void writeDocumentTrailer ( XMLEventWriter writer ) throws JournalException { try { putEndDocument ( writer ) ; } catch ( XMLStreamException e ) { throw new JournalException ( e ) ; } }
Subclasses should call this method to close a Journal file .