org.bukkit.conversations
Class NullConversationPrefix

java.lang.Object
  extended by org.bukkit.conversations.NullConversationPrefix
All Implemented Interfaces:
ConversationPrefix

public class NullConversationPrefix
extends Object
implements ConversationPrefix

NullConversationPrefix is a ConversationPrefix implementation that displays nothing in front of conversation output.


Constructor Summary
NullConversationPrefix()
           
 
Method Summary
 String getPrefix(ConversationContext context)
          Prepends each conversation message with an empty string.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NullConversationPrefix

public NullConversationPrefix()
Method Detail

getPrefix

public String getPrefix(ConversationContext context)
Prepends each conversation message with an empty string.

Specified by:
getPrefix in interface ConversationPrefix
Parameters:
context - Context information about the conversation.
Returns:
An empty string.


Copyright © 2013. All Rights Reserved.