Home
Development Entropy Shared Utils is a shared library of utility classes used by various Deventropy projects. It does not contain any public use APIs in itself.
This library aims to have a minimal set of dependencies to keep the import impact minimal. Or it will have imports marked optional.
The library has the following utilities (all in the package org.deventropy.shared.utils):
Utility | Summary | Additional Documentation | Additional Dependency |
---|---|---|---|
ArgumentCheck | Methods to validate parameters to methods (null checks, etc.) | ||
ClassUtil | Utility to find appropriate class loaders / resources in the classpath. | ||
UrlResourceUtil | Methods to normalize access to resources across multiple sources (classpath, file system, etc.). The formats supported by this class are documented in Resource Location Formats | Resource Location Formats | |
DirectoryArchiveUtil | Rudimentary methods to create zip or jar files for entire contents of a directory. | Directory Archive Util Guide | org.apache.commons:commons-compress |
Attributions
UrlResourceUtil is inspired by the Spring Framework DefaultResourceLoader licensed under the Apache Software License ver. 2.0.
DirectoryArchiverUtil is influenced by ideas by user Gili on a Stackoverflow discussion. And uses Apache Commons Compress; Apache Commons, Apache, the Apache feather logo, and the Apache Commons project logos are trademarks of The Apache Software Foundation.