Normalize Javadocs.

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137350 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Gary D. Gregory 2003-05-31 17:16:11 +00:00
parent bd2144eb32
commit 9503cd07e9
7 changed files with 27 additions and 28 deletions

View File

@ -1,6 +1,6 @@
<html>
<body>
These builders assist with creating good and consistent <code>equals()</code>, <code>toString()</code>,
Assists in creating good and consistent <code>equals()</code>, <code>toString()</code>,
<code>hashCode()</code>, and <code>compareTo()</code> methods.
</body>
</html>

View File

@ -1,6 +1,6 @@
<html>
<body>
An implementation of the C style 'enum' in the Java world.
Provides an implementation of the C style 'enum' in the Java world.
The classic example being an RGB color enumeration.
<pre>

View File

@ -70,16 +70,18 @@ import org.apache.commons.lang.ArrayUtils;
import org.apache.commons.lang.SystemUtils;
/**
* <p><code>ExceptionUtils</code> provides utilities for manipulating
* <p>Provides utilities for manipulating and examining
* <code>Throwable</code> objects.</p>
*
* @author <a href="mailto:dlr@finemaltcoding.com">Daniel Rall</a>
* @author Dmitri Plotnikov
* @author Stephen Colebourne
* @author <a href="mailto:ggregory@seagullsw.com">Gary Gregory</a>
* @since 1.0
* @version $Id: ExceptionUtils.java,v 1.23 2003/05/14 02:59:13 bayard Exp $
* @version $Id: ExceptionUtils.java,v 1.24 2003/05/31 17:16:11 ggregory Exp $
*/
public class ExceptionUtils {
/**
* Used when printing stack frames to denote the start of a
* wrapped exception. Package private for accessibility by test
@ -223,7 +225,7 @@ public class ExceptionUtils {
}
/**
* <p>Find a throwable by method name.</p>
* <p>Finds a <code>Throwable</code> by method name.</p>
*
* @param throwable the exception to examine
* @param methodName the name of the method to find and invoke
@ -250,7 +252,7 @@ public class ExceptionUtils {
}
/**
* <p>Find a throwable by field name.</p>
* <p>Finds a <code>Throwable</code> by field name.</p>
*
* @param throwable the exception to examine
* @param fieldName the name of the attribute to examine
@ -370,14 +372,16 @@ public class ExceptionUtils {
}
/**
* Equivalent to printRootCauseStackTrace(t, System.err)
* Equivalent to <code>printRootCauseStackTrace(t, System.err);</code>
*
* @see #printRootCauseStackTrace(Throwable,PrintWriter)
*/
public static void printRootCauseStackTrace(Throwable t) {
printRootCauseStackTrace(t, System.err);
}
/**
* Same as printRootCauseStackTrace(t, stream), except it takes
* Same as {@link #printRootCauseStackTrace(Throwable,java.io.PrintStream)}, except it takes
* a PrintWriter as an argument.
*/
public static void printRootCauseStackTrace(Throwable t, PrintWriter writer) {
@ -390,9 +394,7 @@ public class ExceptionUtils {
/**
* Creates a compact stack trace for the root cause of the supplied
* throwable.
*
* See <code>printRootCauseStackTrace(Throwable t, PrintStream s)</code>
* <code>Throwable</code>.
*/
public static String[] getRootCauseStackTrace(Throwable t) {
Throwable throwables[] = getThrowables(t);
@ -418,7 +420,7 @@ public class ExceptionUtils {
}
/**
* Given two stack traces, removes common frames from the cause trace.
* Removes common frames from the cause trace given the two stack traces.
*
* @param causeFrames stack trace of a cause throwable
* @param wrapperFrames stack trace of a wrapper throwable
@ -474,7 +476,7 @@ public class ExceptionUtils {
}
/**
* Whether an Throwable is considered nested or not.
* Returns whether a <code>Throwable </code> is considered nested or not.
*
* @param t The <code>Throwable</code>.
* @return boolean true/false
@ -581,6 +583,7 @@ public class ExceptionUtils {
// ignore
}
}
/**
* Checks if the Throwable class has a <code>getCause</code> method.
*/

View File

@ -1,9 +1,10 @@
<html>
<body>
Provides a JDK 1.4 style Nested Exception functionality for those on prior
versions. <br>
Also a static utility which creates a version independent Nested
Exception which can handle JDK 1.4 Exceptions as well as others. <br>
Lastly, ExceptionUtils also contains the all-important Exception to String methods.
Provides JDK 1.4 style Nested Exception functionality for those on prior Java
versions.
<p>Includes a static utility to create version independent Nested
Exception which can handle JDK 1.4 Exceptions as well as others. </p>
<p>Lastly, {@link org.apache.commons.lang.exception.ExceptionUtils}
also contains <code>Throwable</code> manipulation and examination routines.</p>
</body>
</html>

View File

@ -1,6 +1,6 @@
<html>
<body>
A group of mathematical classes that extend java.math. This package is intended for business
Extends <code>java.math</code> for business mathematical classes. This package is intended for business
mathematical classes, not scientific ones.
</body>
</html>

View File

@ -1,6 +1,6 @@
<html>
<body>
A collection of highly reusable static utility methods, chiefly concerned
Provides highly reusable static utility methods, chiefly concerned
with adding value to <code>java.lang</code> and other standard core classes.
</body>
</html>

View File

@ -1,15 +1,10 @@
<html>
<head>
<title>Package Documentation for org.apache.commons.lang.reflect Package</title>
</head>
<body bgcolor="white">
<p>Package <em>org.apache.commons.lang.reflect</em> offers a collection of utility
classes that assist in reflection.
The aim is to create a simple, clean and clear API which can be built upon on by more
<body>
<p>Assists in reflection with the aim to create a simple, clean and clear API which can be built upon on by more
sophisticated introspection schemes as well as fixes for bugs found in various
java implementations.</p>
<h2>Contents</h2>
Java implementations.</p>
<h2>Accessibility Rules</h2>
<p>These determine which methods are in scope</p>