# Package org.modeshape.common.util

A set of miscellaneous utilities.

See: Description

- Interface Summary
  Interface | Description
  --- | ---
  ThreadPoolFactory | Factory interface for creating/obtaining named thread pools.

- Class Summary
  Class | Description
  --- | ---
  Base64 | Encodes and decodes to and from Base64 notation.
  Base64.InputStream | A `Base64.InputStream` will read data from another `java.io.InputStream`, given in the constructor, and encode/decode to/from Base64 notation on the fly.
  Base64.OutputStream | A `Base64.OutputStream` will write data to another `java.io.OutputStream`, given in the constructor, and encode/decode to/from Base64 notation on the fly.
  CheckArg | Utility class that checks arguments to methods.
  ClassUtil | Static utilities for working with classes.
  DelegatingClassLoader | Class loader which contains a list of classloaders to which it delegates each operation.
  FileUtil | A set of utilities for working with files and directories.
  HashCode | Utilities for easily computing hash codes.
  ImmediateFuture<V> | A `Future` implementation that is immediately done.
  IoUtil | A set of utilities for more easily performing I/O.
  MimeTypeUtil | Deprecated Use a MIME type detection framework, such as Tika
  NamedThreadFactory | The thread factory that lets us adjust the names of the threads.
  ObjectUtil | Common utility methods for general objects.
  Reflection | Utility class for working reflectively with objects.
  Reflection.Property | A representation of a property on a Java object.
  SecureHash | A simple utility to generate various kinds of secure hashes.
  SecureHash.HashingInputStream |
  SecureHash.HashingReader |
  SelfClosingInputStream | An `InputStream` implementation that wraps another stream and makes sure that `InputStream.close()` is always called on the wrapped stream when there is no more content to read or when an unexpected exception occurs.
  SizeMeasuringInputStream | An `InputStream` implementation that can wrap another input stream and determine the number of bytes read.
  SizeMeasuringReader | An `Reader` implementation that can wrap another input stream and determine the number of bytes read.
  StringURLClassLoader | Extension of a `URLClassLoader` which accepts a list of strings instead of urls, trying to convert each string to an url.
  StringUtil | Utilities for string processing and manipulation.
  ThreadPools | A simple `ThreadPoolFactory` implementation.
  TimeBasedKeys | This is a generator of simple unique and (non-monotonically) increasing long-value keys that incorporate the time in which they were generated.

- Enum Summary
  Enum | Description
  --- | ---
  SecureHash.Algorithm | Commonly-used hashing algorithms.
  StringUtil.Justify |

## Package org.modeshape.common.util Description

A set of miscellaneous utilities.

Copyright © 2008-2014 JBoss, a division of Red Hat. All Rights Reserved.