|
Jive Forums API (5.5.20.2-oracle) Developer Javadocs | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.jivesoftware.forum.nntp.NewsGroupName
public class NewsGroupName
Understands the dot separated name of news groups, along with wildcarding as specified in some NNTP commands.
News groups are dot separated plain alphanumeric names with no whitespace: major.minor.name where the same prefix names are reused to sort groups into a heirarchy. Some news commands use an astrisk (*) to indicate any groups with the given prefix name.
Constructor Summary | |
---|---|
NewsGroupName(java.lang.String groupName)
Create a name based on the group's name string. |
Method Summary | |
---|---|
int |
hashCode()
|
boolean |
isInDistribution(NewsGroupName distribution)
Determines if this name is in the given distribution. |
java.lang.String |
toString()
|
java.lang.String[] |
toStringParts()
Breaks a name into it's string parts (split along the dots in the name). |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public NewsGroupName(java.lang.String groupName)
groupName
- the name of the group.Method Detail |
---|
public boolean isInDistribution(NewsGroupName distribution)
distribution
- the distribution.
public java.lang.String[] toStringParts()
public java.lang.String toString()
toString
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
|
Jive Forums Project Page | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |