Package org.eclipse.jst.jsf.core.internal.jsflibraryregistry

Examples of org.eclipse.jst.jsf.core.internal.jsflibraryregistry.ArchiveFile


   */
  public boolean copyTo(String baseDestLocation) {
    boolean allCopied = true;
    Iterator itFiles = getArchiveFiles().iterator();
    while (itFiles.hasNext()) {
      ArchiveFile archiveFile = (ArchiveFile)itFiles.next();
      boolean copied = archiveFile.copyTo(baseDestLocation);
      allCopied = allCopied && copied;
    }
    return allCopied;
  }
View Full Code Here


  public Collection<IClasspathEntry> getJars() {
    Set<IClasspathEntry> results = new HashSet<IClasspathEntry>();
    if (getLibrary() != null){
      List jars = getLibrary().getArchiveFiles();
      for (Iterator it= jars.iterator();it.hasNext();){
        ArchiveFile jar = (ArchiveFile)it.next();
        String path = jar.getResolvedSourceLocation();
        results.add(JavaCore.newLibraryEntry(new Path(path), null, null));
      }
    }     
    return results;
  }
View Full Code Here

TOP

Related Classes of org.eclipse.jst.jsf.core.internal.jsflibraryregistry.ArchiveFile

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.