akarasulu 2003/11/11 21:59:03
Modified: repository/api/src/java/org/apache/avalon/repository
Repository.java
Log:
Readding the extra getArtifact overload since it
is needed in the composition project group.
Revision Changes Path
1.5 +15 -1
avalon-sandbox/repository/api/src/java/org/apache/avalon/repository/Repository.java
Index: Repository.java
===================================================================
RCS file:
/home/cvs/avalon-sandbox/repository/api/src/java/org/apache/avalon/repository/Repository.java,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- Repository.java 11 Nov 2003 06:08:33 -0000 1.4
+++ Repository.java 12 Nov 2003 05:59:03 -0000 1.5
@@ -71,6 +71,20 @@
String SEPERATOR = ":" ;
/**
+ * Get a resource relative to the supplied artifact name where the artifact
+ * name is equivalent to the group and resource name seperated by the colon
+ * character.
+ *
+ * @param artifact the artifact name
+ * @param version the version identifier
+ * @param type the resource type
+ * @return the resource
+ */
+ public URL getArtifact(
+ final String artifact, final String version, final String type )
+ throws RepositoryException;
+
+ /**
* Get a resource url relative to the supplied application name, resource
* name, version and resource type.
*
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]