View Javadoc
1   package org.argeo.slc.repo.osgi;
2   
3   import java.util.List;
4   import java.util.zip.ZipOutputStream;
5   
6   /** Provides access to Java sources */
7   public interface SourcesProvider {
8   	/**
9   	 * Writes sources into a ZIP (or a JAR), under the same sirectory structure.
10  	 * 
11  	 * @param packages
12  	 *            the packages to import
13  	 * @param out
14  	 *            the ZIP or JAR to write to
15  	 */
16  	public void writeSources(List<String> packages, ZipOutputStream zout);
17  }