| [programming] | [all tags] [all pages] [home] |
A while back I was working on a project using GWT, and in the process accumulated a set of libraries. The project went nowhere, but the libraries might be useful to someone, so I'm making them available here.
Cowj contains:
...and a few other bits and pieces. It's all very patchy and I've had tinker with pretty much all of it to make it work, but there's enough functionality there to make porting traditional Java software vastly easier.
Cowj's File support is based on a very simple in-memory file system which has no directories and no persistence. It's good enough to create temporary files and then use them later.
You also get:
None of it's at all documented, but it's all modular and should be easy enough to work. And best of all, it's all available under a rather complex set of compatible licenses; see inside the package for details, but the bulk of it is released under the terms of the Apache 2.0 license.
Cowj demo
Everyone loves demos! Here's a ZIP file viewer implemented entirely client-side. This uses HTML5 FileReader to read the files from local storage; then it stores them in Cowj's VFS; then it opens the file using a completely standard ZipFile object. Downloading the decompressed contents is done by using Apache Codecs to convert the contents to Base64 to make a data scheme link.
cowj-0.2.zip
The download package.
| Page last updated: 2011 October 2 | © 2008-2009 David Given, unless specified otherwise |