mirror of
https://github.com/vanitasvitae/Smack.git
synced 2024-11-29 23:42:06 +01:00
Javadoc.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@8087 b35dd754-fafc-0310-a699-88a17e54d16e
This commit is contained in:
parent
5cd266befb
commit
b858614843
1 changed files with 17 additions and 3 deletions
|
@ -109,7 +109,14 @@ public abstract class Packet {
|
||||||
/**
|
/**
|
||||||
* Returns who the packet is being sent "to", or <tt>null</tt> if
|
* Returns who the packet is being sent "to", or <tt>null</tt> if
|
||||||
* the value is not set. The XMPP protocol often makes the "to"
|
* the value is not set. The XMPP protocol often makes the "to"
|
||||||
* attribute optional, so it does not always need to be set.
|
* attribute optional, so it does not always need to be set.<p>
|
||||||
|
*
|
||||||
|
* The StringUtils class provides several useful methods for dealing with
|
||||||
|
* XMPP addresses such as parsing the
|
||||||
|
* {@link StringUtils#parseBareAddress(String) bare address},
|
||||||
|
* {@link StringUtils#parseName(String) user name},
|
||||||
|
* {@link StringUtils#parseServer(String) server}, and
|
||||||
|
* {@link StringUtils#parseResource(String) resource}.
|
||||||
*
|
*
|
||||||
* @return who the packet is being sent to, or <tt>null</tt> if the
|
* @return who the packet is being sent to, or <tt>null</tt> if the
|
||||||
* value has not been set.
|
* value has not been set.
|
||||||
|
@ -131,10 +138,17 @@ public abstract class Packet {
|
||||||
/**
|
/**
|
||||||
* Returns who the packet is being sent "from" or <tt>null</tt> if
|
* Returns who the packet is being sent "from" or <tt>null</tt> if
|
||||||
* the value is not set. The XMPP protocol often makes the "from"
|
* the value is not set. The XMPP protocol often makes the "from"
|
||||||
* attribute optional, so it does not always need to be set.
|
* attribute optional, so it does not always need to be set.<p>
|
||||||
|
*
|
||||||
|
* The StringUtils class provides several useful methods for dealing with
|
||||||
|
* XMPP addresses such as parsing the
|
||||||
|
* {@link StringUtils#parseBareAddress(String) bare address},
|
||||||
|
* {@link StringUtils#parseName(String) user name},
|
||||||
|
* {@link StringUtils#parseServer(String) server}, and
|
||||||
|
* {@link StringUtils#parseResource(String) resource}.
|
||||||
*
|
*
|
||||||
* @return who the packet is being sent from, or <tt>null</tt> if the
|
* @return who the packet is being sent from, or <tt>null</tt> if the
|
||||||
* valud has not been set.
|
* value has not been set.
|
||||||
*/
|
*/
|
||||||
public String getFrom() {
|
public String getFrom() {
|
||||||
return from;
|
return from;
|
||||||
|
|
Loading…
Reference in a new issue