@ Override public String getFileHeader ( ) { StringBuilder sbuf = new StringBuilder ( ) ; sbuf . append ( "<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Strict//EN\"" ) ; sbuf . append ( " \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd\">" ) ; sbuf . append ( LINE_SEPARATOR ) ; sbuf . append ( "<html>" ) ; sbuf . append ( LINE_SEPARATOR ) ; sbuf . append ( " <head>" ) ; sbuf . append ( LINE_SEPARATOR ) ; sbuf . append ( " <title>" ) ; sbuf . append ( title ) ; sbuf . append ( "</title>" ) ; sbuf . append ( LINE_SEPARATOR ) ; cssBuilder . addCss ( sbuf ) ; sbuf . append ( LINE_SEPARATOR ) ; sbuf . append ( " </head>" ) ; sbuf . append ( LINE_SEPARATOR ) ; sbuf . append ( "<body>" ) ; sbuf . append ( LINE_SEPARATOR ) ; return sbuf . toString ( ) ; }
Returns appropriate HTML headers .