Various handy and commonly used routines developed by Evan McLean of McLean Computer Services.

See:
          Description

Packages
com.evanmclean.evlib.cache Implements caches that are thread-safe, expire entries after a specified time-to-live, can be bound to a maximum number of entries, and can contain strong, soft or weak references to their values.
com.evanmclean.evlib.charset Defines constants for the standard set of Charsets that are supported by every java platform implementation.
com.evanmclean.evlib.commons.dbcp Misc handy functions for the Apache Commons Database Connection Pooling package.
com.evanmclean.evlib.commons.fileupload Misc handy functions for the Apache Commons File Upload package.
com.evanmclean.evlib.escape Performs character escapes on strings to make them safe for various output (e.g., HTML, XML, Javascript).
com.evanmclean.evlib.exceptions Exceptions that are not specific to another package.
com.evanmclean.evlib.io File IO related stuff.
com.evanmclean.evlib.junit Utilities related to JUnit unit testing.
com.evanmclean.evlib.lang Cousin to java.lang package containing related utilities.
com.evanmclean.evlib.misc Objects and utilities that don't really fit in any other category.
com.evanmclean.evlib.prefs Quick utilities for preferences (java.util.prefs.Preferences).
com.evanmclean.evlib.security Various utilities to make it simpler to get common message digests, and to efficiently run files through digests.
com.evanmclean.evlib.servlet Stuff for dealing with servlets.
com.evanmclean.evlib.sql SQL and JDBC related stuff.
com.evanmclean.evlib.swing Swing and GUI related stuff.
com.evanmclean.evlib.swing.filechooser Filters for JFileChooser.
com.evanmclean.evlib.tablelayout Utilities to make it easier dealing with TableLayouts.
com.evanmclean.evlib.text Utilities for doing textual analysis and processing.
com.evanmclean.evlib.util Cousin to java.util package containing related utilities.
com.evanmclean.evlib.util.zip Cousin to java.util.zip package containing utilities for creating or unzipping zip files.
com.evanmclean.evlib.velocity Utilities for Velocity.
com.evanmclean.evlib.velocity.tools Utilities for Velocity Tools.

 

Various handy and commonly used routines developed by Evan McLean of McLean Computer Services.

McLean Computer Services Open Source Software License

(Looks like the BSD license, but less restrictive.)

Copyright (c) 2006-2011 Evan McLean. All rights reserved.

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:

1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.

2. Neither the names "Evan McLean", "McLean Computer Services", "EvLib" nor the names of any contributors may be used to endorse or promote products derived from this software without prior written permission.

3. Products derived from this software may not be called "Evlib", nor may "Evlib" appear in their name, without prior written permission.

THIS SOFTWARE IS PROVIDED "AS IS" AND ANY EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

Third-Party Code

All of the code found under src/main was written by Evan McLean.

Some of the unit testing code under /src/test was borrowed from various sources as detailed below, however all code that is rolled into evlib.jar is licensed as detailed in license.txt and this overview.

src/test/java/com/evanmclean/evlib/cache/ConcurrentHashMapCacheTest.java

Written by Doug Lea with assistance from members of JCP JSR-166 Expert Group and released to the public domain, as explained at http://creativecommons.org/licenses/publicdomain Other contributors include Andrew Wright, Jeffrey Hayes, Pat Fisher, Mike Judd.

src/test/java/com/evanmclean/evlib/cache/MapInterfaceTest.java

Copyright (C) 2008 Google Inc.

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.