A Java library of general utility classes

Basically anytime I write a bit of generally useful code (whether having to do with string processing, collections, basic math, etc.) I put it in here; thus, all of my other packages depend on this one.

Some of this functionality has slowly been replaced over the years by new features in the JDK and by the Apache Commons packages.

Note that the nature of this kind of code is that some if it is found on the internet and pasted into this package for convenience. I've tried to keep the attributions, copyright notices, and licenses straight, but I know I need to doublecheck those.

Documentation

Download

Maven is by far the easiest way to make use of dsutils. Just add these to your pom.xml:

<repositories>
	<repository>
		<id>dev.davidsoergel.com releases</id>
		<url>http://dev.davidsoergel.com/artifactory/repo</url>
		<snapshots>
			<enabled>false</enabled>
		</snapshots>
	</repository>
	<repository>
		<id>dev.davidsoergel.com snapshots</id>
		<url>http://dev.davidsoergel.com/artifactory/repo</url>
		<releases>
			<enabled>false</enabled>
		</releases>
	</repository>
</repositories>

<dependencies>
	<dependency>
		<groupId>com.davidsoergel</groupId>
		<artifactId>dsutils</artifactId>
		<version>0.9</version>
	</dependency>
</dependencies>

If you really want just the jar, you can get it here: dsutils-0.9.jar (133 KB) May 9, 2008

Or get the latest stable build from the continuous integration server.

You can also browse the source, or get the source with svn:

svn co http://svn.davidsoergel.com/repos/dsutils/trunk dsutils

Support