org.jtheque.core.managers.message
Class MessageFile

java.lang.Object
  extended by org.jtheque.core.managers.message.MessageFile

public final class MessageFile
extends java.lang.Object

Author:
Baptiste Wicht

Created by IntelliJ IDEA. User: wichtounet Date: 20 mars 2009 Time: 12:39:50


Constructor Summary
MessageFile()
           
 
Method Summary
 java.util.List<Message> getMessages()
          Return all the messages of the file.
 java.lang.String getSource()
          Return the source of the messages.
 void setMessages(java.util.Collection<Message> messages)
          Set the messages.
 void setSource(java.lang.String source)
          Set the source of the messages.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MessageFile

public MessageFile()
Method Detail

getSource

public java.lang.String getSource()
Return the source of the messages.

Returns:
The source off the messages.

setSource

public void setSource(java.lang.String source)
Set the source of the messages.

Parameters:
source - The source of the messages.

getMessages

public java.util.List<Message> getMessages()
Return all the messages of the file.

Returns:
A List containing all the messages of the file.

setMessages

public void setMessages(java.util.Collection<Message> messages)
Set the messages.

Parameters:
messages - The messages of the file.

toString

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


Copyright © 2009 JTheque. All Rights Reserved.