dlr 01/06/20 00:42:15
Modified: src/java/org/apache/turbine/services BaseServiceBroker.java
Log:
Documented getRealPath().
Revision Changes Path
1.33 +8 -1
jakarta-turbine/src/java/org/apache/turbine/services/BaseServiceBroker.java
Index: BaseServiceBroker.java
===================================================================
RCS file:
/home/cvs/jakarta-turbine/src/java/org/apache/turbine/services/BaseServiceBroker.java,v
retrieving revision 1.32
retrieving revision 1.33
diff -u -r1.32 -r1.33
--- BaseServiceBroker.java 2001/06/14 15:06:08 1.32
+++ BaseServiceBroker.java 2001/06/20 07:42:07 1.33
@@ -96,7 +96,7 @@
* @author <a href="mailto:[EMAIL PROTECTED]">Rafal Krzewski</a>
* @author <a href="mailto:[EMAIL PROTECTED]">Daniel Rall</a>
* @author <a href="mailto:[EMAIL PROTECTED]">Jason van Zyl</a>
- * @version $Id: BaseServiceBroker.java,v 1.32 2001/06/14 15:06:08 jvanzyl Exp $
+ * @version $Id: BaseServiceBroker.java,v 1.33 2001/06/20 07:42:07 dlr Exp $
*/
public abstract class BaseServiceBroker implements ServiceBroker
{
@@ -806,6 +806,13 @@
return applicationRoot;
}
+ /**
+ * Gets the version of the supplied path as relative to appliation
+ * root. Does not demand strict adherence to the Servlet API's
+ * definition of <code>getRealPath()</code>.
+ *
+ * @return The path, relative to application root.
+ */
public String getRealPath(String path)
{
return getApplicationRoot() + '/' + path;
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]