@ Override public String [ ] getHeader ( ) { ArrayList < String > result = new ArrayList < String > ( ) ; if ( customHeader . length > 0 ) { for ( CustomHeaderLine line : customHeader ) { String formattedLine = line . formatLine ( headerProps ) ; if ( formattedLine != null ) { result . add ( formattedLine ) ; } } } else { for ( String prop : headerProps . stringPropertyNames ( ) ) { result . add ( prop + " = " + headerProps . getProperty ( prop ) ) ; } } return result . toArray ( new String [ result . size ( ) ] ) ; }
Gets the file header information . Implementations of the HpelPlainFormatter class will have a non - XML - based header .