cziegeler 2003/01/09 00:33:34 Modified: sourceresolve/src/java/org/apache/excalibur/source TraversableSource.java SourceException.java Log: Fixing package names and finishing TraversableSource Revision Changes Path 1.2 +11 -4 jakarta-avalon-excalibur/sourceresolve/src/java/org/apache/excalibur/source/TraversableSource.java Index: TraversableSource.java =================================================================== RCS file: /home/cvs/jakarta-avalon-excalibur/sourceresolve/src/java/org/apache/excalibur/source/TraversableSource.java,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- TraversableSource.java 8 Jan 2003 21:37:32 -0000 1.1 +++ TraversableSource.java 9 Jan 2003 08:33:34 -0000 1.2 @@ -52,7 +52,7 @@ * information on the Apache Software Foundation, please see * <http://www.apache.org/>. */ - package sourceresolve.src.java.org.apache.excalibur.source; +package org.apache.excalibur.source; import org.apache.excalibur.source.Source; @@ -70,12 +70,19 @@ /** * Does this source point to a directory? */ - boolean isDirectory(); + boolean hasChildren(); /** * Return the URIs of the children * The returned URIs are relative to the URI of the parent * (this object) */ - Collection getChildrenLocations(); + Collection getChildrenLocations() throws SourceException; + + /** + * Return the complete URI of the parent source. + * The method should return null if the source hasn't a parent. + */ + String getParentLocation() throws SourceException; + } 1.6 +2 -2 jakarta-avalon-excalibur/sourceresolve/src/java/org/apache/excalibur/source/SourceException.java Index: SourceException.java =================================================================== RCS file: /home/cvs/jakarta-avalon-excalibur/sourceresolve/src/java/org/apache/excalibur/source/SourceException.java,v retrieving revision 1.5 retrieving revision 1.6 diff -u -r1.5 -r1.6 --- SourceException.java 15 Dec 2002 11:56:48 -0000 1.5 +++ SourceException.java 9 Jan 2003 08:33:34 -0000 1.6 @@ -52,7 +52,7 @@ * information on the Apache Software Foundation, please see * <http://www.apache.org/>. */ - package org.apache.excalibur.source; +package org.apache.excalibur.source; import org.apache.avalon.framework.CascadingException;
-- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>