Work :: Java Libraries

- Code from the ChunkedInputStream class
Download
- Language:
- Java
In the course of developing Java applications, I have come up with useful toolkits and have extracted several of them into these libraries for re-use.
Most of the code in these libraries represents solutions to problems that were originally difficult and time-consuming to solve. Abstracting these problems into a free API library makes them available for use and comment by other developers. Some of the problems these libraries deal with include complicated input/output operations and stream formats, multi-threaded networking and network connection pooling, and layered HTTP request and response filtering.
These libraries are all downloadable together in one large, signed archive. Inside, there is one archive for each package that contains:
- full Java source code, with copious JavaDoc-style comments
- an Ant build file
- compiled .class files in a signed .jar file
- a COPYING file that discusses the package’s license
The packages included are:
- org.coffeeblack.io
- Support for complicated input/output streams and formats. The base package provides support for byte-counting in streams. The classes in the sub-package chunked implement reading from and writing to streams in the chunked format. In the range sub-package are classes that allow reading from an input stream in multiple overlapping byte ranges and writing data in multipart format.
- org.coffeeblack.net
- Abstracted network services that provide support for multi-threading, pooled connections, port management, and MIME content types.
- org.coffeeblack.servlet
- Various servlets, including one that performs XSLT transformations. Filters that provide HTTP output compression in several formats, a response caching layer, and support for partial-content responses to HTTP Range requests.
Download
- Copyright
- © 2001-2008
- Scott Martin.
- All Rights Reserved.
- Valid
- XHTML and
- CSS.