org.mentawai.message
Class ClasspathMessageContext

java.lang.Object
  extended by org.mentawai.message.ClasspathMessageContext
All Implemented Interfaces:
MessageContext

public class ClasspathMessageContext
extends Object
implements MessageContext

Author:
Sergio Oliveira

Constructor Summary
ClasspathMessageContext(String resource)
           
 
Method Summary
 String getMessage(String id, Locale loc)
           
 String getMessage(String id, Locale loc, boolean noPrefix)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ClasspathMessageContext

public ClasspathMessageContext(String resource)
Method Detail

getMessage

public String getMessage(String id,
                         Locale loc)
Specified by:
getMessage in interface MessageContext

getMessage

public String getMessage(String id,
                         Locale loc,
                         boolean noPrefix)
Specified by:
getMessage in interface MessageContext

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2013. All Rights Reserved.