Package org.davinci.ajaxLibrary

Examples of org.davinci.ajaxLibrary.LibInfo


    public static ILibInfo[] getAllDefaultLibs() {
        Library[] all = ServerManager.getServerManager().getLibraryManager().getAllLibraries();
        ILibInfo[] results = new ILibInfo[all.length];
        for (int i = 0; i < all.length; i++) {
            results[i] = new LibInfo(all[i].getID(), all[i].getName(), all[i].getVersion(), all[i].getDefaultRoot(), all[i].getRequired());
        }
        return results;
    }
View Full Code Here


        return "library";
    }

    public boolean addLibrary(String name, String version, String id, String virtualRoot, String required) throws IOException {

        LibInfo link = new LibInfo(id, name, version, virtualRoot, required);

        LibInfo[] newLibs = new LibInfo[libs.length + 1];
        System.arraycopy(libs, 0, newLibs, 0, libs.length);
        newLibs[libs.length] = link;
        this.libs = newLibs;
View Full Code Here

          base = attributeValues[i];
        if(attributeNames[i].equalsIgnoreCase("required"))
          required = attributeValues[i];
      }
     
      ILibInfo link = new LibInfo(id,name,version,virtualRoot, required);
        return link;
    }
View Full Code Here

        version = simpleVersion[i];
        break;
      }
    }
    ILibInfo[] result = new ILibInfo[1];
    result[0]= new LibInfo("dojo","dojo", version, simplePath, null);
    return result;
  }
View Full Code Here

TOP

Related Classes of org.davinci.ajaxLibrary.LibInfo

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.