masonjm 2004/08/17 14:49:47 Modified: webdavclient/clientlib/src/java/org/apache/webdav/lib WebdavResource.java Log: Applied patch to javadoc from Michael Häusler See http://www.mail-archive.com/[EMAIL PROTECTED]/msg07250.html Revision Changes Path 1.30 +29 -10 jakarta-slide/webdavclient/clientlib/src/java/org/apache/webdav/lib/WebdavResource.java Index: WebdavResource.java =================================================================== RCS file: /home/cvs/jakarta-slide/webdavclient/clientlib/src/java/org/apache/webdav/lib/WebdavResource.java,v retrieving revision 1.29 retrieving revision 1.30 diff -u -r1.29 -r1.30 --- WebdavResource.java 9 Aug 2004 15:11:01 -0000 1.29 +++ WebdavResource.java 17 Aug 2004 21:49:46 -0000 1.30 @@ -1088,6 +1088,11 @@ * WebdavResource.ALL * * @param action The action type. + * @see #NOACTION + * @see #NAME + * @see #BASIC + * @see #DEFAULT + * @see #ALL */ public static void setDefaultAction(int action) { defaultAction = action; @@ -1259,13 +1264,14 @@ * Set the HttpURL for this WebdavResource. * * @param httpURL the specified HttpURL. - * @param action The action to decide properties to find. + * @param action The action to decide, which properties to find. * @param depth The depth to find properties. * @exception HttpException * @exception IOException * @see #setHttpURL(java.lang.String) * @see #setUserInfo(java.lang.String, java.lang.String) * @see #setPath(java.lang.String) + * @see #setDefaultAction(int) */ public void setHttpURL(HttpURL httpURL, int action, int depth) throws HttpException, IOException { @@ -1303,13 +1309,14 @@ * * @param httpURL The specified HttpURL. * @param additionalPath The added relative path. - * @param action The action to decide properties to find. + * @param action The action to decide, which properties to find. * @param depth The depth. * @exception HttpException * @exception IOException * @see #setHttpURL(java.lang.String) * @see #setUserInfo(java.lang.String, java.lang.String) * @see #setPath(java.lang.String) + * @see #setDefaultAction(int) */ public void setHttpURL (HttpURL httpURL, String additionalPath, int action, int depth) @@ -1327,12 +1334,13 @@ * * @param httpURL The specified HttpURL. * @param additionalPath The added relative path. - * @param action The action to decide properties to find. + * @param action The action to decide, which properties to find. * @exception HttpException * @exception IOException * @see #setHttpURL(java.lang.String) * @see #setUserInfo(java.lang.String, java.lang.String) * @see #setPath(java.lang.String) + * @see #setDefaultAction(int) */ public void setHttpURL (HttpURL httpURL, String additionalPath, int action) @@ -1855,6 +1863,7 @@ * * @param action The action to find properties for this resource. * @param depth the depth to which properties shall be found + * @see #setDefaultAction(int) */ public void setProperties(int action, int depth) throws HttpException, IOException { @@ -1903,11 +1912,16 @@ } /** - * Test if it exists. + * Returns the last known information about the existence of this resource. * This is a wrapper method for getExistence. * - * @return true if it exists. + * A previous call to the method setProperties might be necessary to update + * that information. + * + * @return true if the resource is known to exist<br> + * false if the resource is known not to exist or its status is unknown. * @see #getExistence() + * @see #setProperties(int, int) */ public boolean exists() { return getExistence(); @@ -1925,9 +1939,14 @@ /** - * Get its existence. + * Returns the last known information about the existence of this resource. * - * @return true if it exists. + * A previous call to the method setProperties might be necessary to update that + * information. + * + * @return true if the resource is known to exist<br> + * false if the resource is known not to exist or its status is unknown. + * @see #setProperties(int, int) */ public boolean getExistence() { return exists;
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]