@ Override public void endDocument ( ) throws SAXException { LOG . info ( "Content Processing finished, saving..." ) ; try { this . session . save ( ) ; } catch ( final RepositoryException e ) { throw new AssertionError ( "Saving failed" , e ) ; } if ( LOG . isInfoEnabled ( ) ) { LOG . info ( "Content imported in {} ms" , ( System . nanoTime ( ) - this . startTime ) / 1_000_000 ) ; LOG . info ( "END ContentImport" ) ; } }
Persists the changes in the repository and prints out information such as processing time .