|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.tivoli.twg.engine.slp.ServiceLocation
Service Location
Field Summary | |
---|---|
static java.util.Comparator |
COMPARATOR
Comparator for ordering String objects. |
Method Summary | |
---|---|
java.lang.Object |
clone()
|
static UserAgent |
getUserAgent()
Returns user agent instance |
static void |
initialize()
This method is public as an implementation side effect. |
static void |
terminate()
This method is public as an implementation side effect. |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final java.util.Comparator COMPARATOR
from RFC 2608 (Service Location Protocol, Version 2):
The case insensitivity rule applies to all string matching in SLPv2, including Scope strings, SLP SPI strings, service types, attribute tags and values in query handling, language tags, previous responder lists. Comparisons of URL strings, however, is case sensitive.
White space (SPACE, CR, LF, TAB) internal to a string value is folded to a single SPACE character for the sake of string comparisons. White space preceding or following a string value is ignored for the purposes of string comparison. For example, " Some String " matches "SOME STRING".
String comparisons (using comparison operators such as `<=' or `>=') are done using lexical ordering in UTF-8 encoded characters, not using any language specific rules.
Method Detail |
public static void initialize() throws ServiceLocationException
Initialize Service Location Protocol stack
ServiceLocationException
- if initialization failspublic static void terminate()
Terminate Service Location Protocol stack
public static UserAgent getUserAgent()
public final java.lang.Object clone() throws java.lang.CloneNotSupportedException
java.lang.CloneNotSupportedException
Object.clone()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |