logging-log4j-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ralph Goers <ralph.go...@dslextreme.com>
Subject Re: Layout and header/footer
Date Wed, 12 Dec 2012 20:53:22 GMT
I don't know.  AbstractLayout implements it so separating it doesn't accomplish a whole lot.
 It looks like all the Layouts currently extend AbstractLayout.

Ralph

On Dec 12, 2012, at 11:50 AM, Gary Gregory wrote:

> In Layout, I read:
> 
>     /**
>      * Returns the format for the layout format.
>      * @return The footer.
>      * @doubt the concept of header and footer is not universal, should not be on the
base interface.
>      * (RG) I agree with this.
>      */
>     byte[] getFooter();
> 
>     /**
>      * Returns the header for the layout format.
>      * @return The header.
>      * @doubt the concept of header and footer is not universal, should not be on the
base interface.
>      * (RG) I agree with this.
>      */
>     byte[] getHeader();
> 
> Should we have PageLayout that extends Layout and includes these methods?
> 
> Gary
> 
> -- 
> E-Mail: garydgregory@gmail.com | ggregory@apache.org 
> JUnit in Action, 2nd Ed: http://bit.ly/ECvg0
> Spring Batch in Action: http://bit.ly/bqpbCK
> Blog: http://garygregory.wordpress.com 
> Home: http://garygregory.com/
> Tweet! http://twitter.com/GaryGregory


Mime
View raw message