private void processDefaultBody ( ParserContext context ) { StringBuilder body = new StringBuilder ( ) ; boolean inBody = false ; for ( String line : context . getFileLines ( ) ) { if ( inBody ) { body . append ( line ) . append ( "\n" ) ; } if ( line . equals ( configuration . getHeaderSeparator ( ) ) ) { inBody = true ; } } if ( body . length ( ) == 0 ) { for ( String line : context . getFileLines ( ) ) { body . append ( line ) . append ( "\n" ) ; } } context . setBody ( body . toString ( ) ) ; }
Process the body of the file .