|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.microsoft.tfs.core.util.ServerURIUtils
public class ServerURIUtils
Field Summary | |
---|---|
static java.lang.String |
HOSTED_SERVICE_DEFAULT_SCHEME
|
static java.lang.String[] |
HOSTED_SERVICE_DOMAIN_SUFFIXES
If the entered host name ends with this domain name, the scheme is automatically chosen. |
Method Summary | |
---|---|
static boolean |
equals(java.net.URI one,
java.net.URI two)
Compares URIs for TFS servers according to ServerURIComparator . |
static boolean |
isHosted(java.lang.String uriServerName)
|
static boolean |
isHosted(java.net.URI uri)
|
static java.net.URI |
normalizeURI(java.net.URI uri)
Canonicalizes the URI into "TFS format". |
static java.net.URI |
normalizeURI(java.net.URI uri,
boolean lowercase)
Canonicalizes the URI into TFS format. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String[] HOSTED_SERVICE_DOMAIN_SUFFIXES
public static final java.lang.String HOSTED_SERVICE_DEFAULT_SCHEME
"https"
Method Detail |
---|
public static java.net.URI normalizeURI(java.net.URI uri)
uri
- the server URI
public static java.net.URI normalizeURI(java.net.URI uri, boolean lowercase)
uri
- the server URIlowercase
- true
to flatten the URI into lowercase,
false
to preserve case
public static boolean equals(java.net.URI one, java.net.URI two)
Compares URIs for TFS servers according to ServerURIComparator
.
public static boolean isHosted(java.net.URI uri)
public static boolean isHosted(java.lang.String uriServerName)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |