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...")
AWT
ByteVector
The advantage is speed and memory savings.
CRC
DPoint
ErrorLog
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.
Files
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.
GDate
See the complimentary class JDate for memory efficiency or doing date math.
GUI
HTTP
This class is usually used by Applets, but it can also be used by applications and other servlets.
IPoint
IRect
JDate
This class will behave as both a Julian date and a Gregorian date although the actual date will be stored as a single integer.
LogServlet
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.
Numbers
ObjectServlet
Servlets
The server-side methods in this class interact with the client-side methods in com.javaranch.common.HTTP.
Str
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.
Structures
TextFileIn
TextFileOut
Time
UnitTest
|
|
||||||||||
|