net.sf.okapi.common

## Class ClassInfo

- java.lang.Object
- - net.sf.okapi.common.ClassInfo

-     public class ClassInfo
      extends java.lang.Object

  Stores a class name and its class-loader, for dynamic loading.

- - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `java.lang.ClassLoader` | `loader` Class loader for this class, or null if the default class loader should be used.
    `java.lang.String` | `name` Full name of the class.

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `ClassInfo(java.lang.String name)` Convenience method to create a new ClassInfo object for a given class name.
    `ClassInfo(java.lang.String name, java.lang.ClassLoader loader)` Creates a new ClassInfo object for a given class name and loader.

  - ### Method Summary

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Field Detail

    - #### name

          public java.lang.String name

      Full name of the class.

    - #### loader

          public java.lang.ClassLoader loader

      Class loader for this class, or null if the default class loader should be used.

  - ### Constructor Detail

    - #### ClassInfo

          public ClassInfo(java.lang.String name,
                           java.lang.ClassLoader loader)

      Creates a new ClassInfo object for a given class name and loader.
      Parameters:
        `name` - the full name of the class.
        `loader` - the class loader for this class, or null to use the default class loader.

    - #### ClassInfo

          public ClassInfo(java.lang.String name)

      Convenience method to create a new ClassInfo object for a given class name. This is the same as calling `ClassInfo(String, ClassLoader)` with the class loader set to null.
      Parameters:
        `name` - the full name of the class.