net.jini.config
Class Utilities

java.lang.Object
  extended by net.jini.config.Utilities

 class Utilities
extends Object

Provides utility methods for use in this package.

Since:
2.0
Author:
Sun Microsystems, Inc.

Field Summary
(package private) static ClassLoader bootstrapResourceLoader
          Class loader whose parent is the bootstrap class loader, and provides no resources of its own, for finding resources in the bootstrap class loader.
 
Constructor Summary
private Utilities()
          This class should not be instantiated.
 
Method Summary
(package private) static Class getPrimitiveType(Class type)
          Returns the primitive type associated with a wrapper type or null if the argument is not a wrapper type.
(package private) static String typeString(Class type)
          Returns a String describing the type.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

bootstrapResourceLoader

static final ClassLoader bootstrapResourceLoader
Class loader whose parent is the bootstrap class loader, and provides no resources of its own, for finding resources in the bootstrap class loader.

Constructor Detail

Utilities

private Utilities()
This class should not be instantiated.

Method Detail

getPrimitiveType

static Class getPrimitiveType(Class type)
Returns the primitive type associated with a wrapper type or null if the argument is not a wrapper type.

Parameters:
type - the wrapper type
Returns:
the associated primitive type or null

typeString

static String typeString(Class type)
Returns a String describing the type.

Parameters:
type - the type
Returns:
a String describing the type


Copyright 2007-2010, multiple authors.
Licensed under the Apache License, Version 2.0, see the NOTICE file for attributions.