|
Jive Forums API (5.5.8) Developer Javadocs | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.jivesoftware.forum.nntp.MessageID
public class MessageID
Utility class for managing, generating, and parsing Message-ID's.
| Method Summary | |
|---|---|
static boolean |
isMessageID(java.lang.String id)
Determines if the given string is a valid Message-ID or not. |
static long |
parseMessageID(java.lang.String id)
Takes a message ID and strips the angle brackets from it. |
static java.lang.String |
toMessageID(long messageID)
Takes a bare ID string, and converts it into a valid message-id string by wrapping angle brackets around it. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static boolean isMessageID(java.lang.String id)
id - The ID to validate
public static java.lang.String toMessageID(long messageID)
messageID - the ID to convert.
public static long parseMessageID(java.lang.String id)
id - The Message-ID to strip
|
Jive Forums Project Page | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||