Here you can find the source of isVSO(final URI uri)
public static boolean isVSO(final URI uri)
//package com.java2s; // Licensed under the MIT license. See License.txt in the project root. import java.net.URI; public class Main { private static final String HOST_VSO = "visualstudio.com"; private static final String HOST_TFS_ALL_IN = "tfsallin.com"; public static boolean isVSO(final URI uri) { final String host = uri.getHost().toLowerCase(); if (host.endsWith(HOST_VSO) || host.endsWith(HOST_TFS_ALL_IN)) { return true; } else {/*from w ww . j a v a 2 s .c o m*/ return false; } } }