| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface WriteableRepository
A repository that accepts new entries.
| Method Summary | |
|---|---|
|  void | copyToRepository(File source,
                                 Artifact destination,
                                 FileWriteMonitor monitor)Copies a file from the server's filesystem into the repository. | 
|  void | copyToRepository(InputStream source,
                                 int size,
                                 Artifact destination,
                                 FileWriteMonitor monitor)Copies the contents of an arbitrary stream into the repository. | 
| Methods inherited from interface org.apache.geronimo.kernel.repository.Repository | 
|---|
| contains, getDependencies, getLocation | 
| Method Detail | 
|---|
void copyToRepository(File source,
                      Artifact destination,
                      FileWriteMonitor monitor)
                      throws IOException
source - A file representing the data for the new repository
                     entrydestination - A fully-resolved artifact that tells the repository
                     where it should save the data tomonitor - Tracks the progress of the installation
IOException
void copyToRepository(InputStream source,
                      int size,
                      Artifact destination,
                      FileWriteMonitor monitor)
                      throws IOException
source - A stream representing the data for the new
                     repository entrydestination - A fully-resolved artifact that tells the repository
                     where it should save the data tomonitor - Tracks the progress of the installation
IOException| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||