Package org.earth3d.jearth.model

Examples of org.earth3d.jearth.model.ServerList


  protected ServiceList serviceList;
  protected int downloadedAddresses;
  protected int downloadedServices;
 
  public void testServerList() throws Exception {
    sl = new ServerList();
    sl.addListener(new DownloadFinishedListener() {
   
      public void downloadFinished(DownloadFinishedData dfd) {
        List<URL> addresses = sl.getAddresses();
        for (URL addr : addresses) {
View Full Code Here


   */
  protected void loadInternalPlugins(ExtensionManager em, GeoDataModel gdm, Configuration conf) {
    // load data model
    ServiceList serviceList = null;
    try {
      ServerList serverList = gdm.loadServerList("http://www.earth3d.org/earth3daddresses.xml");
      serviceList = gdm.loadServiceList(serverList.getAddresses().get(1));
    } catch (MalformedURLException e) {
      e.printStackTrace();
    }
   
    // add controller
View Full Code Here

TOP

Related Classes of org.earth3d.jearth.model.ServerList

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.