Package org.eclipse.orion.internal.server.hosting

Examples of org.eclipse.orion.internal.server.hosting.SiteHostingConfig


    return OrionConfiguration.getMetaStore();
  }

  @Test
  public void testSiteHostingConfigParsing() throws Exception {
    SiteHostingConfig config = SiteHostingConfig.getSiteHostingConfig("*.example.org,  127.0.0.3");
    List<String> hosts = config.getHosts();
    assertEquals(hosts.size(), 2);
    assertEquals(hosts.get(0), "*.example.org"); //$NON-NLS-1$
    assertEquals(hosts.get(1), "127.0.0.3"); //$NON-NLS-1$
  }
View Full Code Here

TOP

Related Classes of org.eclipse.orion.internal.server.hosting.SiteHostingConfig

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.