org.mentawai.message
Class AbstractMessageContext

java.lang.Object
  extended by org.mentawai.message.AbstractMessageContext
All Implemented Interfaces:
MessageContext
Direct Known Subclasses:
ClassMessageContext, FileMessageContext

public abstract class AbstractMessageContext
extends java.lang.Object
implements MessageContext

Author:
Sergio Oliveira

Field Summary
protected  java.lang.String dir
           
 
Constructor Summary
AbstractMessageContext()
           
 
Method Summary
 java.lang.String getDir()
           
 java.lang.String getMessage(java.lang.String id, java.util.Locale loc)
           
protected abstract  java.lang.String getPath()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

dir

protected java.lang.String dir
Constructor Detail

AbstractMessageContext

public AbstractMessageContext()
Method Detail

getDir

public java.lang.String getDir()

getPath

protected abstract java.lang.String getPath()

getMessage

public java.lang.String getMessage(java.lang.String id,
                                   java.util.Locale loc)
Specified by:
getMessage in interface MessageContext

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


Copyright © 2005 Mentawai Team. All Rights Reserved.