The com.javaranch.common packageThis is a collection of classes that I use for a variety of projects I work on. You are welcome to use any of these yourself.
get all the source and class files in one jar file(you might need to right click and select "save link as...")
The advantage is speed and memory savings.
Rather than having 20 lines of error handling for each occurance of an error, you can have just one. When the time comes to handle your errors a different way, you don't have to find a thousand error locations and rewrite the handling: just change the ErrorLog initialization.
Methods to get directory listings with angle brackets around subdirectories and date/time/filesize information for files.
Shortcut methods for writing an object to a file and reading an object from a file.
See the complimentary class JDate for memory efficiency or doing date math.
This class is usually used by Applets, but it can also be used by applications and other servlets.
This class will behave as both a Julian date and a Gregorian date although the actual date will be stored as a single integer.
Log messages are sent to a logging object that defaults to being turned off. Activating the servlet via a web browser gives you access to activate logging for debugging purposes.
I use this for all of my servlets now.
The server-side methods in this class interact with the client-side methods in com.javaranch.common.HTTP.
The Java String and StringBuffer classes are final. So it is not possible to inherit all of the functionality of one of those classes and enhance it with a few more methods.
This class attempts to provide all of the functionality found in both String and StringBuffer, plus provide a wide collection of additional functionality.