Package org.davinci.ajaxLibrary

Examples of org.davinci.ajaxLibrary.ILibraryFinder


  public ILibraryFinder[] getFinders(String base){
    ILibraryFinder[] finders = ServerManager.getServerManager().getLibraryManager().getLibraryFinders();
    IStorage baseFile = this.userDirectory.newInstance(this.userDirectory, base);
    Vector<ILibraryFinder> allLibs = new Vector();
    for(int i=0;i<finders.length;i++){
      ILibraryFinder finder = finders[i].getInstance(baseFile.toURI(), baseFile.getName());
      allLibs.add(finder);
    }
    return allLibs.toArray(new ILibraryFinder[allLibs.size()]);
  }
View Full Code Here


   
    ILibraryFinder[] finders = ServerManager.getServerManager().getLibraryManager().getLibraryFinders();
    IStorage baseFile = this.userDirectory.newInstance(this.userDirectory, base);
    Vector<ILibInfo> allLibs = new Vector();
    for(int i=0;i<finders.length;i++){
      ILibraryFinder finder = finders[i].getInstance(baseFile.toURI(), baseFile.getName());
      ILibInfo[] libs = finder.getLibInfo();
      allLibs.addAll(Arrays.asList(libs));
    }
    return (ILibInfo[]) allLibs.toArray(new ILibInfo[allLibs.size()]);
  }
View Full Code Here

TOP

Related Classes of org.davinci.ajaxLibrary.ILibraryFinder

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.