Smack

org.jivesoftware.smack.packet
Class Presence.Mode

java.lang.Object
  extended by org.jivesoftware.smack.packet.Presence.Mode
Enclosing class:
Presence

public static class Presence.Mode
extends Object

A typsafe enum class to represent the presecence mode.


Field Summary
static Presence.Mode AVAILABLE
           
static Presence.Mode AWAY
           
static Presence.Mode CHAT
           
static Presence.Mode DO_NOT_DISTURB
           
static Presence.Mode EXTENDED_AWAY
           
static Presence.Mode INVISIBLE
           
 
Method Summary
static Presence.Mode fromString(String value)
          Returns the mode constant associated with the String value.
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

AVAILABLE

public static final Presence.Mode AVAILABLE

CHAT

public static final Presence.Mode CHAT

AWAY

public static final Presence.Mode AWAY

EXTENDED_AWAY

public static final Presence.Mode EXTENDED_AWAY

DO_NOT_DISTURB

public static final Presence.Mode DO_NOT_DISTURB

INVISIBLE

public static final Presence.Mode INVISIBLE
Method Detail

toString

public String toString()
Overrides:
toString in class Object

fromString

public static Presence.Mode fromString(String value)
Returns the mode constant associated with the String value.


Smack

Copyright © 2003 Jive Software.