org.apache.geronimo.gshell.ansi
Class RenderMessageSource
java.lang.Object
org.apache.geronimo.gshell.ansi.RenderMessageSource
- All Implemented Interfaces:
- MessageSource
public class RenderMessageSource
- extends Object
- implements MessageSource
Message source adapter which supports automatic ANSI color rendering.
- Version:
- $Rev: 571626 $ $Date: 2007-08-31 15:32:08 -0700 (Fri, 31 Aug 2007) $
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RenderMessageSource
public RenderMessageSource(MessageSource source)
getMessage
public String getMessage(String code)
- Specified by:
getMessage in interface MessageSource
format
public String format(String code,
Object... args)
- Specified by:
format in interface MessageSource
Copyright © 2003-2007 Apache Software Foundation. All Rights Reserved.