netbattle
Class BattleServer.ChatQueueItem
java.lang.Object
netbattle.BattleServer.ChatQueueItem
- Enclosing class:
- BattleServer
public static class BattleServer.ChatQueueItem
- extends java.lang.Object
Entry in the chat log queue.
This class also exposes a couple of stock time formatting methods.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
BattleServer.ChatQueueItem
public BattleServer.ChatQueueItem(java.util.Date date,
java.lang.String message)
formatDate
public static java.lang.String formatDate(java.util.Date date)
getFileName
public java.lang.String getFileName()
getPrefix
public static java.lang.String getPrefix()
getPrefix
public static java.lang.String getPrefix(java.util.Date date)
formatTime
public static java.lang.String formatTime(java.util.Date date)
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object